c++ style cast

This commit is contained in:
Dane Springmeyer 2011-12-16 10:06:18 -08:00
parent 04dd46315e
commit 4b28739274

View file

@ -57,7 +57,7 @@ struct get_type
int operator() (geometry_type const& geom) const int operator() (geometry_type const& geom) const
{ {
return (int)geom.type(); return static_cast<int>(geom.type());
} }
}; };