summaryrefslogtreecommitdiff
path: root/include/mbgl/util/string.hpp
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2015-05-01 11:00:01 -0700
committerDane Springmeyer <dane@mapbox.com>2015-05-01 11:00:01 -0700
commit74604af9c5e53474ff8a8053fc43b254f1d1cf42 (patch)
tree1da7749b27f6db0b3b1ce00581d8bdba0669da94 /include/mbgl/util/string.hpp
parent51c069502880e38a6dabf520c032fd6f293ee744 (diff)
downloadqtlocation-mapboxgl-74604af9c5e53474ff8a8053fc43b254f1d1cf42.tar.gz
fix compile with clang-3.6
Diffstat (limited to 'include/mbgl/util/string.hpp')
-rw-r--r--include/mbgl/util/string.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp
index 690a67d471..672ead2443 100644
--- a/include/mbgl/util/string.hpp
+++ b/include/mbgl/util/string.hpp
@@ -4,9 +4,8 @@
#include <string>
#pragma GCC diagnostic push
-#ifndef __clang__
+#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
-#endif
#include <boost/lexical_cast.hpp>
#pragma GCC diagnostic pop