From 6bf7e0dbe0e9d8b68f0e355a4c18bf0b3ecd6b92 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Sat, 13 Apr 2013 18:28:41 +0000 Subject: [PATCH] geometry::index: commented out explicit copy ctor and assignment of ptr_pair. [SVN r83879] --- include/boost/geometry/index/detail/rtree/node/pairs.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 {