c++ style cast
This commit is contained in:
parent
04dd46315e
commit
4b28739274
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue