Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-01-03 08:22:17


Reece Dunn wrote:
> inline void add( Object * o ) // add an Object
> {
> if( i == end())
> push_back( o );
> else
> erase( i, end()); // clear undo/redo history after insert point
> i = end();
> }

should be:

      inline void add( Object * o ) // add an Object
      {
         if( i != end())
            erase( i, end()); // clear undo/redo history after insert point
         push_back( o );
         i = end();
      }

:)

Regards,
Reece

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk