Update of /cvsroot/mockpp/mockpp/mockpp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30224/mockpp
Modified Files:
VisitableMockMethod.h
Log Message:
reset all
Index: VisitableMockMethod.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/VisitableMockMethod.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- VisitableMockMethod.h 13 Nov 2005 11:52:26 -0000 1.17
+++ VisitableMockMethod.h 13 Nov 2005 12:25:41 -0000 1.18
@@ -234,6 +234,7 @@
virtual void reset()
{
VisitableMockMethodBase::reset();
+ this->returnValues.reset();
this->haveDefaultReturnValue = false;
this->defaultReturnValueUsed = false;
}
@@ -271,7 +272,7 @@
protected:
- mutable ReturnObjectList<R> returnValues;
+ mutable ReturnObjectList<R> returnValues;
bool haveDefaultReturnValue;
mutable bool defaultReturnValueUsed;
R defaultReturnValue;
|