Update of /cvsroot/mockpp/mockpp/mockpp/stub
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28770/mockpp/stub
Modified Files:
TypelessStub.h
Log Message:
compiler warning
Index: TypelessStub.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/stub/TypelessStub.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TypelessStub.h 15 Jan 2005 12:22:26 -0000 1.9
--- TypelessStub.h 1 Mar 2005 19:36:19 -0000 1.10
***************
*** 138,142 ****
* @return return value from mocked invocation
*/
! virtual R invoke( const I &invocation )
{
return stubber->typelessInvoke();
--- 138,142 ----
* @return return value from mocked invocation
*/
! virtual R invoke( const I &/*invocation*/ )
{
return stubber->typelessInvoke();
***************
*** 145,152 ****
! #ifndef MOCKPP_PTI_WEAKNESS // Partial Template Instatiation Weakness
!
!
! /** Partial specialisation for base of adapters for the "translation" to
* typeless void stub objects.
* @internal
--- 145,152 ----
! #ifndef MOCKPP_PTI_WEAKNESS // Partial Template Instatiation Weakness
!
!
! /** Partial specialisation for base of adapters for the "translation" to
* typeless void stub objects.
* @internal
***************
*** 168,172 ****
* @param invocation invocation data
*/
! virtual void invoke( const I &invocation )
{
stubber->typelessInvoke();
--- 168,172 ----
* @param invocation invocation data
*/
! virtual void invoke( const I &/*invocation*/ )
{
stubber->typelessInvoke();
***************
*** 174,199 ****
};
!
! #else // MOCKPP_PTI_WEAKNESS Partial Template Instatiation Weakness
!
! /** Declare specialized methods for mockpp::InvocationMocker.
! * Neccessary for compiler with weak template capabilities.
! */
! #define MOCKPP_TYPELESSSTUBADAPTER_PTI_DECL(I) \
! void mockpp::TypelessStubAdapter<void, I>::invoke( const I &);
!
!
! /** Implement specialized methods for mockpp::InvocationMocker.
! * Neccessary for compiler with weak template capabilities.
! */
! #define MOCKPP_TYPELESSSTUBADAPTER_PTI_IMPL(I) \
! void mockpp::TypelessStubAdapter<void, I>::invoke( const I &invocation) \
! { \
! stubber->typelessInvoke(); \
! }
!
!
! #endif // MOCKPP_PTI_WEAKNESS
!
} // namespace mockpp
--- 174,199 ----
};
!
! #else // MOCKPP_PTI_WEAKNESS Partial Template Instatiation Weakness
!
! /** Declare specialized methods for mockpp::InvocationMocker.
! * Neccessary for compiler with weak template capabilities.
! */
! #define MOCKPP_TYPELESSSTUBADAPTER_PTI_DECL(I) \
! void mockpp::TypelessStubAdapter<void, I>::invoke( const I &);
!
!
! /** Implement specialized methods for mockpp::InvocationMocker.
! * Neccessary for compiler with weak template capabilities.
! */
! #define MOCKPP_TYPELESSSTUBADAPTER_PTI_IMPL(I) \
! void mockpp::TypelessStubAdapter<void, I>::invoke( const I &invocation) \
! { \
! stubber->typelessInvoke(); \
! }
!
!
! #endif // MOCKPP_PTI_WEAKNESS
!
} // namespace mockpp
|