python: remove unneeded header for mapnik_feature.cpp

This commit is contained in:
Dane Springmeyer 2011-12-02 13:38:10 -08:00
parent aaa5d30c64
commit 8a4ba70c48

View file

@ -34,7 +34,6 @@
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/wkb.hpp> #include <mapnik/wkb.hpp>
#include <mapnik/wkt/wkt_factory.hpp> #include <mapnik/wkt/wkt_factory.hpp>
#include "mapnik_value_converter.hpp"
mapnik::geometry_type & (mapnik::Feature::*get_geom1)(unsigned) = &mapnik::Feature::get_geometry; mapnik::geometry_type & (mapnik::Feature::*get_geom1)(unsigned) = &mapnik::Feature::get_geometry;
@ -59,7 +58,7 @@ void feature_add_geometries_from_wkt(Feature &feature, std::string wkt)
namespace boost { namespace python { namespace boost { namespace python {
// Forward declaration // Forward declaration
template <class Container, bool NoProxy, class DerivedPolicies> template <class Container, bool NoProxy, class DerivedPolicies>
class map_indexing_suite2; class map_indexing_suite2;
@ -109,6 +108,7 @@ namespace boost { namespace python {
PyErr_SetString(PyExc_KeyError, "Invalid key"); PyErr_SetString(PyExc_KeyError, "Invalid key");
throw_error_already_set(); throw_error_already_set();
} }
// will be auto-converted to proper python type by `mapnik_value_to_python`
return i->second; return i->second;
} }