Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54110 - sandbox/itl/boost/itl
From: afojgo_at_[hidden]
Date: 2009-06-19 16:15:25


Author: jofaber
Date: 2009-06-19 16:15:24 EDT (Fri, 19 Jun 2009)
New Revision: 54110
URL: http://svn.boost.org/trac/boost/changeset/54110

Log:
Refactoring: Cleaned optimized version of interval_map::add. Portability for gcc. Stable {msvc-9.0 r+d, gcc-3.4.4}
Text files modified:
   sandbox/itl/boost/itl/interval_map.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 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-19 16:15:24 EDT (Fri, 19 Jun 2009)
@@ -496,7 +496,10 @@
         if(Traits::absorbs_neutrons && it_->CONT_VALUE == Combiner::neutron())
                 this->_map.erase(it_++);
         else
- join_left(it_++);
+ {
+ join_left(it_);
+ ++it_;
+ }
 }
 
 


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