diff --git a/include/mbgl/util/utf.hpp b/include/mbgl/util/utf.hpp deleted file mode 100644 index 3d61609c0..000000000 --- a/include/mbgl/util/utf.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef MBGL_UTIL_UTF -#define MBGL_UTIL_UTF - -#include - -#include - -namespace mbgl { - -namespace util { - -class utf8_to_utf32 { - public: - static std::u32string convert(std::string const& utf8) - { - boost::u8_to_u32_iterator begin(utf8.begin()); - boost::u8_to_u32_iterator end(utf8.end()); - return std::u32string(begin,end); - } -}; - -} // namespace util -} // namespace mbgl - -#endif diff --git a/src/mbgl/util/utf.hpp b/src/mbgl/util/utf.hpp index d6ba2a1f2..286036c09 100644 --- a/src/mbgl/util/utf.hpp +++ b/src/mbgl/util/utf.hpp @@ -6,7 +6,6 @@ #include namespace mbgl { - namespace util { class utf8_to_utf32 { @@ -19,6 +18,7 @@ class utf8_to_utf32 { } }; -}} +} // namespace mbgl +} // namespace util #endif