diff options
author | artemp <artem@mapnik.org> | 2014-11-03 15:44:27 +0000 |
---|---|---|
committer | artemp <artem@mapnik.org> | 2014-11-03 15:44:27 +0000 |
commit | 92124d3aa1f53e40b174d82e29771bd292bc2001 (patch) | |
tree | c97b494424ff09cf85724c10abd444c60eae6292 /include/mbgl/util/utf.hpp | |
parent | f0b8fa2839ec0a89ee4b3ae3018288ba31e4c77e (diff) | |
download | qtlocation-mapboxgl-92124d3aa1f53e40b174d82e29771bd292bc2001.tar.gz |
make util::utf8_to_utf32::convert() static
Diffstat (limited to 'include/mbgl/util/utf.hpp')
-rw-r--r-- | include/mbgl/util/utf.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/util/utf.hpp b/include/mbgl/util/utf.hpp index d36cfae7e4..d6ba2a1f2f 100644 --- a/include/mbgl/util/utf.hpp +++ b/include/mbgl/util/utf.hpp @@ -11,8 +11,7 @@ namespace util { class utf8_to_utf32 { public: - explicit utf8_to_utf32() {} - std::u32string convert(std::string const& utf8) + static std::u32string convert(std::string const& utf8) { boost::u8_to_u32_iterator<std::string::const_iterator> begin(utf8.begin()); boost::u8_to_u32_iterator<std::string::const_iterator> end(utf8.end()); |