Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83946 - trunk/boost/geometry/index/detail/rtree/node
From: adam.wulkiewicz_at_[hidden]
Date: 2013-04-17 20:20:40


Author: awulkiew
Date: 2013-04-17 20:20:40 EDT (Wed, 17 Apr 2013)
New Revision: 83946
URL: http://svn.boost.org/trac/boost/changeset/83946

Log:
geometry.index rtree: dependency removed - node_auto_ptr base class noncopyable - implemented manually.
Text files modified:
   trunk/boost/geometry/index/detail/rtree/node/node_auto_ptr.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/geometry/index/detail/rtree/node/node_auto_ptr.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/node/node_auto_ptr.hpp (original)
+++ trunk/boost/geometry/index/detail/rtree/node/node_auto_ptr.hpp 2013-04-17 20:20:40 EDT (Wed, 17 Apr 2013)
@@ -11,8 +11,6 @@
 #ifndef BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_NODE_AUTO_PTR_HPP
 #define BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_NODE_AUTO_PTR_HPP
 
-#include <boost/noncopyable.hpp>
-
 #include <boost/geometry/index/detail/rtree/visitors/destroy.hpp>
 
 namespace boost { namespace geometry { namespace index {
@@ -21,11 +19,13 @@
 
 template <typename Value, typename Options, typename Translator, typename Box, typename Allocators>
 class node_auto_ptr
- : boost::noncopyable
 {
     typedef typename rtree::node<Value, typename Options::parameters_type, Box, Allocators, typename Options::node_tag>::type node;
     typedef typename Allocators::node_pointer pointer;
 
+ node_auto_ptr(node_auto_ptr const&);
+ node_auto_ptr & operator=(node_auto_ptr const&);
+
 public:
     node_auto_ptr(pointer ptr, Allocators & allocators)
         : m_ptr(ptr)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk