summaryrefslogtreecommitdiff
path: root/src/mbgl/util/utf.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-18 17:33:27 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-10-23 12:23:40 +0200
commit282c71e8e9a8ec9c2eab612f2e60a71b15d24c8a (patch)
tree2d5a7d0f9b054af2686fe94dfa8c5690e8c92e72 /src/mbgl/util/utf.hpp
parent729eeeb3f821981cc5d3c9e06ffbb85ed4d857d7 (diff)
downloadqtlocation-mapboxgl-282c71e8e9a8ec9c2eab612f2e60a71b15d24c8a.tar.gz
[core] unify UTF-8/16 conversion to <boost/locale/encoding_utf.hpp>
Diffstat (limited to 'src/mbgl/util/utf.hpp')
-rw-r--r--src/mbgl/util/utf.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mbgl/util/utf.hpp b/src/mbgl/util/utf.hpp
index c13b094371..d870fb9331 100644
--- a/src/mbgl/util/utf.hpp
+++ b/src/mbgl/util/utf.hpp
@@ -5,10 +5,8 @@
namespace mbgl {
namespace util {
-class utf8_to_utf16 {
-public:
- static std::u16string convert(std::string const&);
-};
+std::u16string convertUTF8ToUTF16(const std::string&);
+std::string convertUTF16ToUTF8(const std::u16string&);
} // namespace util
} // namespace mbgl