[Mockpp-commits] mockpp/mockpp/builder InvocationMockerBuilder.h,1.35,1.36
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-04-03 18:33:44
|
Update of /cvsroot/mockpp/mockpp/mockpp/builder In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9425/mockpp/builder Modified Files: InvocationMockerBuilder.h Log Message: more efforts to make msvc6 compile Index: InvocationMockerBuilder.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/builder/InvocationMockerBuilder.h,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- InvocationMockerBuilder.h 2 Apr 2005 20:45:29 -0000 1.35 +++ InvocationMockerBuilder.h 3 Apr 2005 18:32:45 -0000 1.36 @@ -113,15 +113,25 @@ protected: - /** Indicate a matcher for a set of arguments. - * @param constraintset constraint set - * @return the builder object - */ - virtual MatchBuilder<R, I> &with_cs( const CS &constraintset ) - { - return addMatcher( new ArgumentsMatcher<I>( constraintset ) ); - } - + /** Indicate a matcher for a set of arguments. + * @param constraintset constraint set + * @return the builder object + */ + virtual MatchBuilder<R, I> &with_cs( const CS &constraintset ) + { + return internalWith_cs( constraintset); + } + + /** Indicate a matcher for a set of arguments. + * Needed for compilers that can't invoke \c InvocationMockerBuilder<>::with_cs() directly. + * @param constraintset constraint set + * @return the builder object + */ + virtual MatchBuilder<R, I> &internalWith_cs( const CS &constraintset ) + { + return addMatcher( new ArgumentsMatcher<I>( constraintset ) ); + } + /** Gets the builder namespace. * @return pointer to builder namspace */ |