mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ fixed a compiler warning
This commit is contained in:
parent
0d15c55e14
commit
31d170c8a6
@ -94,9 +94,9 @@ geos_datasource::geos_datasource(parameters const& params, bool bind)
|
||||
extent_initialized_(false),
|
||||
type_(datasource::Vector),
|
||||
desc_(*params.get<std::string>("type"), *params.get<std::string>("encoding","utf-8")),
|
||||
geometry_id_(0),
|
||||
geometry_data_(""),
|
||||
geometry_data_name_("name")
|
||||
geometry_data_name_("name"),
|
||||
geometry_id_(0)
|
||||
{
|
||||
boost::optional<std::string> geometry = params.get<std::string>("wkt");
|
||||
if (!geometry) throw datasource_exception("missing <wkt> parameter");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user