diff --git a/include/boost/geometry/index/detail/rtree/node/pairs.hpp b/include/boost/geometry/index/detail/rtree/node/pairs.hpp index 8cdbdd131..dc088ec29 100644 --- a/include/boost/geometry/index/detail/rtree/node/pairs.hpp +++ b/include/boost/geometry/index/detail/rtree/node/pairs.hpp @@ -24,8 +24,8 @@ public: typedef First first_type; typedef Pointer second_type; ptr_pair(First const& f, Pointer s) : first(f), second(s) {} - ptr_pair(ptr_pair const& p) : first(p.first), second(p.second) {} - ptr_pair & operator=(ptr_pair const& p) { first = p.first; second = p.second; return *this; } + //ptr_pair(ptr_pair const& p) : first(p.first), second(p.second) {} + //ptr_pair & operator=(ptr_pair const& p) { first = p.first; second = p.second; return *this; } first_type first; second_type second; @@ -38,6 +38,8 @@ make_ptr_pair(First const& f, Pointer s) return ptr_pair(f, s); } +// TODO: It this will be used, rename it to unique_ptr_pair and possibly use unique_ptr. + template class exclusive_ptr_pair {