diff options
Diffstat (limited to 'boost/geometry/core/tag.hpp')
-rw-r--r-- | boost/geometry/core/tag.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/geometry/core/tag.hpp b/boost/geometry/core/tag.hpp index 5a99c97071..4c790fdc9e 100644 --- a/boost/geometry/core/tag.hpp +++ b/boost/geometry/core/tag.hpp @@ -16,9 +16,9 @@ #include <boost/mpl/assert.hpp> -#include <boost/type_traits/remove_const.hpp> #include <boost/geometry/core/tags.hpp> +#include <boost/geometry/util/bare_type.hpp> namespace boost { namespace geometry @@ -47,6 +47,7 @@ struct tag } // namespace traits + /*! \brief \brief_meta{type, tag, \meta_geometry_type} \details With Boost.Geometry, tags are the driving force of the tag dispatching @@ -61,7 +62,7 @@ struct tag { typedef typename traits::tag < - typename boost::remove_const<Geometry>::type + typename geometry::util::bare_type<Geometry>::type >::type type; }; |