suppress -Wshadow warning from ogr

This commit is contained in:
Dane Springmeyer 2015-12-03 10:22:02 -05:00
parent e424ef1d77
commit 8e6e74dfa2

View file

@ -25,9 +25,12 @@
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
// ogr // ogr
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include "ogr_converter.hpp" #include "ogr_converter.hpp"
#include <ogr_core.h> #include <ogr_core.h>
#include <ogr_geometry.h> #include <ogr_geometry.h>
#pragma GCC diagnostic pop
mapnik::geometry::geometry<double> ogr_converter::convert_geometry(OGRGeometry* ogr_geom) mapnik::geometry::geometry<double> ogr_converter::convert_geometry(OGRGeometry* ogr_geom)
{ {