Boost logo

Boost-Commit :

From: ockham_at_[hidden]
Date: 2008-07-16 04:23:13


Author: bernhard.reiter
Date: 2008-07-16 04:23:12 EDT (Wed, 16 Jul 2008)
New Revision: 47468
URL: http://svn.boost.org/trac/boost/changeset/47468

Log:
Make the size_type member of the root_tracking_cursor specialization for ascending_cursor const.
Text files modified:
   sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp 2008-07-16 04:23:12 EDT (Wed, 16 Jul 2008)
@@ -187,6 +187,7 @@
         }
 
 public:
+// TODO: Deprecate
         bool is_root() const
         {
                 return (m_s.size() == 1);
@@ -261,7 +262,7 @@
 
  private:
  
- std::size_t m_root_depth;
+ std::size_t const m_root_depth;
          
          friend class boost::iterator_core_access;
     friend class boost::tree::cursor_core_access;


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