Update of /cvsroot/cppunit/cppunit2/src/cpput
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30794/src/cpput
Modified Files:
exceptionguard.cpp
Log Message:
* added tests for ExceptionGuard.
* fixed bug in ExceptionGuard::append()
Index: exceptionguard.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/cpput/exceptionguard.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** exceptionguard.cpp 27 Feb 2005 14:38:27 -0000 1.3
--- exceptionguard.cpp 27 Feb 2005 17:42:32 -0000 1.4
***************
*** 115,119 ****
guard->setNextInChain( ExceptionGuardElementPtr() );
guards_.back()->setNextInChain( guard );
! guards_.insert( guards_.end()-1, guard );
}
--- 115,119 ----
guard->setNextInChain( ExceptionGuardElementPtr() );
guards_.back()->setNextInChain( guard );
! guards_.push_back( guard );
}
|