optimize wxStringOperationsUtf8::DecodeChar() for the ASCII case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -249,7 +249,7 @@ wxUniChar::Utf8CharBuffer wxUniChar::AsUTF8() const
|
||||
}
|
||||
|
||||
wxUniChar
|
||||
wxStringOperationsUtf8::DecodeChar(wxStringImpl::const_iterator i)
|
||||
wxStringOperationsUtf8::DecodeNonAsciiChar(wxStringImpl::const_iterator i)
|
||||
{
|
||||
wxASSERT( IsValidUtf8LeadByte(*i) );
|
||||
|
||||
|
Reference in New Issue
Block a user