diff --git a/include/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp b/include/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp index 7072a1879..9b5e4d035 100644 --- a/include/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp +++ b/include/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp @@ -58,7 +58,7 @@ struct gl_draw_indexable template struct gl_draw_indexable { - static const size_t dimension = dimension::value; + static const size_t dimension = geometry::dimension::value; static inline void apply(Indexable const& i, typename coordinate_type::type z) { @@ -69,7 +69,7 @@ struct gl_draw_indexable template struct gl_draw_indexable { - static const size_t dimension = dimension::value; + static const size_t dimension = geometry::dimension::value; static inline void apply(Indexable const& i, typename coordinate_type::type z) { diff --git a/include/boost/geometry/index/detail/rtree/utilities/print.hpp b/include/boost/geometry/index/detail/rtree/utilities/print.hpp index f7d503a7d..452471061 100644 --- a/include/boost/geometry/index/detail/rtree/utilities/print.hpp +++ b/include/boost/geometry/index/detail/rtree/utilities/print.hpp @@ -71,7 +71,7 @@ struct print_indexable template struct print_indexable { - static const size_t dimension = dimension::value; + static const size_t dimension = geometry::dimension::value; static inline void apply(std::ostream &os, Indexable const& i) { @@ -86,7 +86,7 @@ struct print_indexable template struct print_indexable { - static const size_t dimension = dimension::value; + static const size_t dimension = geometry::dimension::value; static inline void apply(std::ostream &os, Indexable const& i) {