python: remove unneeded header for mapnik_feature.cpp
This commit is contained in:
parent
aaa5d30c64
commit
8a4ba70c48
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue