[Mockpp-commits] mockpp/mockpp/constraint ConstraintList.h,1.5,1.6 ConstraintSetN.h,1.4,1.5
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-11-13 11:53:29
|
Update of /cvsroot/mockpp/mockpp/mockpp/constraint In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27653/mockpp/constraint Modified Files: ConstraintList.h ConstraintSetN.h Log Message: cleanup: migrate clear() to reset() Index: ConstraintList.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/constraint/ConstraintList.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ConstraintList.h 31 Jul 2005 14:12:44 -0000 1.5 +++ ConstraintList.h 13 Nov 2005 11:53:18 -0000 1.6 @@ -73,14 +73,7 @@ */ virtual ~ConstraintList() { - clear(); - } - - /** Sets all internal objects to the state after construction. - */ - virtual void reset() - { - clear(); + reset(); } /** Verify that the expected values equal the expected ones. @@ -207,7 +200,7 @@ /** * Resets the internal state completely. */ - virtual void clear() + virtual void reset() { this->clearFailOnVerify(); clearActual(); |