[Mockpp-commits] mockpp/mockpp/stub ThrowStub.h,1.26,1.27 TypelessStub.h,1.11,1.12
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-03-11 00:25:07
|
Update of /cvsroot/mockpp/mockpp/mockpp/stub In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22866/mockpp/stub Modified Files: ThrowStub.h TypelessStub.h Log Message: scope fixes for gcc-3.4.3 Index: TypelessStub.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/stub/TypelessStub.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- TypelessStub.h 5 Mar 2005 15:50:48 -0000 1.11 +++ TypelessStub.h 11 Mar 2005 00:24:57 -0000 1.12 @@ -139,7 +139,7 @@ */ virtual R invoke( const I &invocation ) { - return stubber->typelessInvoke(); + return this->stubber->typelessInvoke(); } }; @@ -169,7 +169,7 @@ */ virtual void invoke( const I &invocation ) { - stubber->typelessInvoke(); + this->stubber->typelessInvoke(); } }; @@ -177,19 +177,19 @@ #else // MOCKPP_PTI_WEAKNESS Partial Template Instatiation Weakness /** Declare specialized methods for mockpp::InvocationMocker. - * Neccessary for compiler with weak template capabilities. + * Neccessary for compilers 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. + * Neccessary for compilers with weak template capabilities. */ #define MOCKPP_TYPELESSSTUBADAPTER_PTI_IMPL(I) \ void mockpp::TypelessStubAdapter<void, I>::invoke( const I &invocation) \ { \ - stubber->typelessInvoke(); \ + this->stubber->typelessInvoke(); \ } Index: ThrowStub.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/stub/ThrowStub.h,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- ThrowStub.h 30 Jan 2005 12:09:18 -0000 1.26 +++ ThrowStub.h 11 Mar 2005 00:24:57 -0000 1.27 @@ -111,7 +111,7 @@ */ virtual R typelessInvoke() { - throwable.get()->throw_me(); + this->throwable.get()->throw_me(); return R(); // avoids warnings } }; @@ -147,7 +147,7 @@ */ virtual void typelessInvoke() { - throwable.get()->throw_me(); + this->throwable.get()->throw_me(); } }; @@ -167,7 +167,7 @@ #define MOCKPP_THROWSTUB_PTI_IMPL(I) \ virtual void mockpp::ThrowStub<void, I>::typelessInvoke() \ { \ - throwable.get()->throw_me(); \ + this->throwable.get()->throw_me(); \ } |