Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83671 - trunk/boost/geometry/index/detail/rtree/node
From: adam.wulkiewicz_at_[hidden]
Date: 2013-03-31 16:23:54


Author: awulkiew
Date: 2013-03-31 16:23:52 EDT (Sun, 31 Mar 2013)
New Revision: 83671
URL: http://svn.boost.org/trac/boost/changeset/83671

Log:
rtree: added missing returns
Text files modified:
   trunk/boost/geometry/index/detail/rtree/node/node_d_mem_dynamic.hpp | 1 +
   trunk/boost/geometry/index/detail/rtree/node/node_d_mem_static.hpp | 1 +
   trunk/boost/geometry/index/detail/rtree/node/node_s_mem_dynamic.hpp | 1 +
   trunk/boost/geometry/index/detail/rtree/node/node_s_mem_static.hpp | 1 +
   4 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/geometry/index/detail/rtree/node/node_d_mem_dynamic.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/node/node_d_mem_dynamic.hpp (original)
+++ trunk/boost/geometry/index/detail/rtree/node/node_d_mem_dynamic.hpp 2013-03-31 16:23:52 EDT (Sun, 31 Mar 2013)
@@ -202,6 +202,7 @@
     {
         internal_node_allocator() = ::boost::move(a.internal_node_allocator());
         leaf_allocator() = ::boost::move(a.leaf_allocator());
+ return *this;
     }
 
     void swap(allocators & a)

Modified: trunk/boost/geometry/index/detail/rtree/node/node_d_mem_static.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/node/node_d_mem_static.hpp (original)
+++ trunk/boost/geometry/index/detail/rtree/node/node_d_mem_static.hpp 2013-03-31 16:23:52 EDT (Sun, 31 Mar 2013)
@@ -151,6 +151,7 @@
     {
         internal_node_allocator() = ::boost::move(a.internal_node_allocator());
         leaf_allocator() = ::boost::move(a.leaf_allocator());
+ return *this;
     }
 
     void swap(allocators & a)

Modified: trunk/boost/geometry/index/detail/rtree/node/node_s_mem_dynamic.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/node/node_s_mem_dynamic.hpp (original)
+++ trunk/boost/geometry/index/detail/rtree/node/node_s_mem_dynamic.hpp 2013-03-31 16:23:52 EDT (Sun, 31 Mar 2013)
@@ -126,6 +126,7 @@
     inline allocators & operator=(BOOST_FWD_REF(allocators) a)
     {
         node_allocator() = boost::move(a.node_allocator());
+ return *this;
     }
 
     void swap(allocators & a)

Modified: trunk/boost/geometry/index/detail/rtree/node/node_s_mem_static.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/node/node_s_mem_static.hpp (original)
+++ trunk/boost/geometry/index/detail/rtree/node/node_s_mem_static.hpp 2013-03-31 16:23:52 EDT (Sun, 31 Mar 2013)
@@ -124,6 +124,7 @@
     inline allocators & operator=(BOOST_FWD_REF(allocators) a)
     {
         node_allocator() = boost::move(a.node_allocator());
+ return *this;
     }
 
     void swap(allocators & a)


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