+ correct types

This commit is contained in:
artemp 2012-12-06 09:50:36 +00:00
parent 9fad81889f
commit 511399f3c1

View file

@ -52,7 +52,7 @@ struct geometry_type_attribute
template <typename V, typename F>
V value(F const& f) const
{
int type = 0;
mapnik::value_integer type = 0;
geometry_container::const_iterator itr = f.paths().begin();
geometry_container::const_iterator end = f.paths().end();
for ( ; itr != end; ++itr)
@ -63,7 +63,7 @@ struct geometry_type_attribute
}
type = itr->type();
}
return static_cast<mapnik::value_integer>(type);
return type;
}
};