use boolean_type (no functional change) [skip ci]

This commit is contained in:
Dane Springmeyer 2015-10-07 17:53:24 -07:00
parent 69a502043b
commit f7b125c90f

View file

@ -95,7 +95,7 @@ postgis_datasource::postgis_datasource(parameters const& params)
// params below are for testing purposes only and may be removed at any time // params below are for testing purposes only and may be removed at any time
intersect_min_scale_(*params.get<mapnik::value_integer>("intersect_min_scale", 0)), intersect_min_scale_(*params.get<mapnik::value_integer>("intersect_min_scale", 0)),
intersect_max_scale_(*params.get<mapnik::value_integer>("intersect_max_scale", 0)), intersect_max_scale_(*params.get<mapnik::value_integer>("intersect_max_scale", 0)),
key_field_as_attribute_(*params.get<mapnik::value_integer>("key_field_as_attribute", true)) key_field_as_attribute_(*params.get<mapnik::boolean_type>("key_field_as_attribute", true))
{ {
#ifdef MAPNIK_STATS #ifdef MAPNIK_STATS
mapnik::progress_timer __stats__(std::clog, "postgis_datasource::init"); mapnik::progress_timer __stats__(std::clog, "postgis_datasource::init");