Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54148 - sandbox/itl/boost/itl
From: afojgo_at_[hidden]
Date: 2009-06-21 13:23:40


Author: jofaber
Date: 2009-06-21 13:23:39 EDT (Sun, 21 Jun 2009)
New Revision: 54148
URL: http://svn.boost.org/trac/boost/changeset/54148

Log:
Refactoring, optimizing: Improved efficiency of interval_map::subtract. Corrections for gcc. Stable {msvc-9.0}
Text files modified:
   sandbox/itl/boost/itl/interval_map.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/itl/boost/itl/interval_map.hpp
==============================================================================
--- sandbox/itl/boost/itl/interval_map.hpp (original)
+++ sandbox/itl/boost/itl/interval_map.hpp 2009-06-21 13:23:39 EDT (Sun, 21 Jun 2009)
@@ -450,7 +450,7 @@
         { // [------------ . . .
                 // [left_resid---fst_it --- . . .
                 iterator prior_ = first_;
- if(prior_ != _map.begin())
+ if(prior_ != this->_map.begin())
                         --prior_;
                 const_cast<interval_type&>(first_->KEY_VALUE).left_subtract(left_resid);
                 //NOTE: Only splitting
@@ -623,7 +623,7 @@
     if(!left_resid.empty())
     {
                 iterator prior_ = it_;
- if(prior_ != _map.begin())
+ if(prior_ != this->_map.begin())
                         --prior_;
                 const_cast<interval_type&>(it_->KEY_VALUE).left_subtract(left_resid);
                 this->_map.insert(prior_, value_type(left_resid, it_->CONT_VALUE));


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