summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand Thakker <github@anandthakker.net>2018-03-30 11:40:32 -0400
committerAnand Thakker <github@anandthakker.net>2018-04-05 16:00:02 -0400
commit148416f75f85296bf02b6c937beae0d0b465eb7e (patch)
tree1171f66645ccd8c798827537ffbd652bd65f09d6
parent0f9953c7f67ed6ac536519ff4467bb8e2f8ae501 (diff)
downloadqtlocation-mapboxgl-148416f75f85296bf02b6c937beae0d0b465eb7e.tar.gz
Suppress old gcc -Wshadow warnings
https://github.com/mapbox/vtzero/pull/38
-rw-r--r--src/mbgl/tile/vector_tile_data.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/tile/vector_tile_data.hpp b/src/mbgl/tile/vector_tile_data.hpp
index 4eadff3571..bccf80a6c9 100644
--- a/src/mbgl/tile/vector_tile_data.hpp
+++ b/src/mbgl/tile/vector_tile_data.hpp
@@ -1,6 +1,10 @@
#include <mbgl/tile/geometry_tile_data.hpp>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow"
#include <vtzero/vector_tile.hpp>
+#pragma GCC diagnostic pop
+
#include <protozero/pbf_reader.hpp>
#include <map>