From 4084e41e7fed91d056f7501c5ca33bb8c93d2345 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 3 Nov 2014 09:12:23 -0500 Subject: [PATCH] cleanup after 195560090/#309/#530 --- include/mbgl/util/utf.hpp | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/include/mbgl/util/utf.hpp b/include/mbgl/util/utf.hpp index ddf0ff306..d36cfae7e 100644 --- a/include/mbgl/util/utf.hpp +++ b/include/mbgl/util/utf.hpp @@ -3,25 +3,12 @@ #include -// g++/libstdc++ is missing c++11 codecvt support -#if 1//! defined(__clang__) || defined(__linux__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-local-typedefs" -//#include #include -#pragma GCC diagnostic pop -#else -// Assume that codecvt is present on clang on non-linux systems -#include -#include -#endif namespace mbgl { namespace util { -#if 1 //! defined(__clang__) || defined(__linux__) - class utf8_to_utf32 { public: explicit utf8_to_utf32() {} @@ -33,21 +20,6 @@ class utf8_to_utf32 { } }; -#else - -class utf8_to_utf32 { - public: - explicit utf8_to_utf32() - : utf32conv_() {} - std::u32string convert(std::string const& utf8) { - return utf32conv_.from_bytes(utf8); - } - private: - std::wstring_convert, char32_t> utf32conv_; -}; - -#endif - }} #endif