[Mockpp-commits] mockpp/mockpp/constraint ConstraintList.h,1.4,1.5
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-07-31 14:12:54
|
Update of /cvsroot/mockpp/mockpp/mockpp/constraint In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10406/mockpp/constraint Modified Files: ConstraintList.h Log Message: fixed compilation problems on certain data types Index: ConstraintList.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/constraint/ConstraintList.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ConstraintList.h 7 May 2005 12:46:19 -0000 1.4 +++ ConstraintList.h 31 Jul 2005 14:12:44 -0000 1.5 @@ -161,7 +161,8 @@ */ ConstraintList& addExpected(const T &expectedItem) { - return addExpected(new IsEqual<T>(expectedItem)); + const ConstraintHolder<T> h = new IsEqual<T>(expectedItem); + return addExpected(h); } |