[core] remove use of <boost/algorithm/string.hpp>
This commit is contained in:
@@ -618,6 +618,10 @@ bool isStringInSupportedScript(const std::string& input) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool isWhitespace(char16_t chr) {
|
||||
return chr == u' ' || chr == u'\t' || chr == u'\n' || chr == u'\v' || chr == u'\f' || chr == u'\r';
|
||||
}
|
||||
|
||||
} // namespace i18n
|
||||
} // namespace util
|
||||
} // namespace mbgl
|
||||
|
||||
@@ -75,6 +75,8 @@ char16_t verticalizePunctuation(char16_t chr);
|
||||
|
||||
bool isStringInSupportedScript(const std::string& input);
|
||||
|
||||
bool isWhitespace(char16_t chr);
|
||||
|
||||
} // namespace i18n
|
||||
} // namespace util
|
||||
} // namespace mbgl
|
||||
|
||||
Reference in New Issue
Block a user