Update of /cvsroot/mockpp/mockpp/mockpp/matcher
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11678/mockpp/matcher
Modified Files:
AnyArgumentsMatcher.h InvokedAfterMatcher.h
InvokedBeforeMatcher.h NoArgumentsMatcher.h
StatelessInvocationMatcher.h TypelessMatcher.h
Log Message:
fixed compiler warnings
Index: TypelessMatcher.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/matcher/TypelessMatcher.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- TypelessMatcher.h 22 Mar 2005 22:03:25 -0000 1.14
+++ TypelessMatcher.h 24 Mar 2005 20:51:30 -0000 1.15
@@ -106,6 +106,7 @@
*/
virtual bool matches( const I &invocation )
{
+ MOCKPP_UNUSED(invocation);
return matcher->matches();
}
@@ -114,6 +115,7 @@
*/
virtual void incInvoked( const I &invocation )
{
+ MOCKPP_UNUSED(invocation);
matcher->incInvoked();
}
Index: StatelessInvocationMatcher.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/matcher/StatelessInvocationMatcher.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- StatelessInvocationMatcher.h 5 Mar 2005 15:50:47 -0000 1.20
+++ StatelessInvocationMatcher.h 24 Mar 2005 20:51:30 -0000 1.21
@@ -57,6 +57,7 @@
*/
virtual void incInvoked( const I &invocation )
{
+ MOCKPP_UNUSED(invocation);
// Do nothing because state cannot change
}
Index: InvokedAfterMatcher.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/matcher/InvokedAfterMatcher.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- InvokedAfterMatcher.h 6 Jan 2005 13:09:23 -0000 1.19
+++ InvokedAfterMatcher.h 24 Mar 2005 20:51:30 -0000 1.20
@@ -69,6 +69,7 @@
*/
virtual bool matches( const I &invocation )
{
+ MOCKPP_UNUSED(invocation);
return priorCallRecorder->hasBeenInvoked();
}
Index: InvokedBeforeMatcher.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/matcher/InvokedBeforeMatcher.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- InvokedBeforeMatcher.h 6 Jan 2005 13:09:23 -0000 1.9
+++ InvokedBeforeMatcher.h 24 Mar 2005 20:51:30 -0000 1.10
@@ -64,6 +64,7 @@
*/
virtual bool matches( const I &invocation )
{
+ MOCKPP_UNUSED(invocation);
return !subsequentCallRecorder->hasBeenInvoked();
}
Index: AnyArgumentsMatcher.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/matcher/AnyArgumentsMatcher.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- AnyArgumentsMatcher.h 6 Jan 2005 13:09:23 -0000 1.14
+++ AnyArgumentsMatcher.h 24 Mar 2005 20:51:30 -0000 1.15
@@ -56,6 +56,7 @@
*/
virtual bool matches( const I &invocation )
{
+ MOCKPP_UNUSED(invocation);
return true;
}
Index: NoArgumentsMatcher.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/matcher/NoArgumentsMatcher.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- NoArgumentsMatcher.h 6 Jan 2005 13:09:23 -0000 1.14
+++ NoArgumentsMatcher.h 24 Mar 2005 20:51:30 -0000 1.15
@@ -58,6 +58,7 @@
*/
virtual bool matches( const I &invocation )
{
+ MOCKPP_UNUSED(invocation);
return I::numParams == 0;
}
|