diff options
Diffstat (limited to 'base/string_util.h')
-rw-r--r-- | base/string_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/string_util.h b/base/string_util.h index 981cd30..d62e9b0 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -274,10 +274,12 @@ bool LowerCaseEqualsASCII(const wchar_t* a_begin, const char* b); // Returns true if str starts with search, or false otherwise. -// This only works on ASCII strings. bool StartsWithASCII(const std::string& str, const std::string& search, bool case_sensitive); +bool StartsWith(const std::wstring& str, + const std::wstring& search, + bool case_sensitive); // Determines the type of ASCII character, independent of locale (the C // library versions will change based on locale). |