diff options
Diffstat (limited to 'boost/geometry/core/coordinate_dimension.hpp')
-rw-r--r-- | boost/geometry/core/coordinate_dimension.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/geometry/core/coordinate_dimension.hpp b/boost/geometry/core/coordinate_dimension.hpp index 84c11e2a55..2f3c914601 100644 --- a/boost/geometry/core/coordinate_dimension.hpp +++ b/boost/geometry/core/coordinate_dimension.hpp @@ -20,9 +20,9 @@ #include <boost/mpl/assert.hpp> #include <boost/mpl/equal_to.hpp> #include <boost/static_assert.hpp> -#include <boost/type_traits/remove_const.hpp> #include <boost/geometry/core/point_type.hpp> +#include <boost/geometry/util/bare_type.hpp> namespace boost { namespace geometry { @@ -58,7 +58,7 @@ template <typename T, typename G> struct dimension : dimension<point_tag, typename point_type<T, G>::type> {}; template <typename P> -struct dimension<point_tag, P> : traits::dimension<P> {}; +struct dimension<point_tag, P> : traits::dimension<typename geometry::util::bare_type<P>::type> {}; } // namespace core_dispatch #endif @@ -75,7 +75,7 @@ struct dimension : core_dispatch::dimension < typename tag<Geometry>::type, - typename boost::remove_const<Geometry>::type + typename geometry::util::bare_type<Geometry>::type > {}; |