Update of /cvsroot/mockpp/mockpp/mockpp/chaining
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1320/mockpp/chaining
Modified Files:
ChainableMockMethod.h
Log Message:
gcc3.4 fix
Index: ChainableMockMethod.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/chaining/ChainableMockMethod.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ChainableMockMethod.h 17 Oct 2005 19:13:09 -0000 1.5
+++ ChainableMockMethod.h 18 Oct 2005 19:09:24 -0000 1.6
@@ -130,8 +130,8 @@
R forward() const
{
- InvocationType inv(getMethodName());
- return getCoreMock().invoke(inv);
+ InvocationType inv(this->getMethodName());
+ return this->getCoreMock().invoke(inv);
}
};
@@ -154,7 +154,7 @@
void forward() const
{
InvocationType inv(MOCKPP_PCHAR("void-name"));
- getCoreMock().invoke(inv);
+ this->getCoreMock().invoke(inv);
}
};
@@ -219,8 +219,8 @@
R forward(const P1 ¶m1) const
{
- InvocationType inv(getMethodName(), param1);
- return getCoreMock().invoke(inv);
+ InvocationType inv(this->getMethodName(), param1);
+ return this->getCoreMock().invoke(inv);
}
};
@@ -243,7 +243,7 @@
void forward(const P1 ¶m1) const
{
InvocationType inv(MOCKPP_PCHAR("void-name"), param1);
- getCoreMock().invoke(inv);
+ this->getCoreMock().invoke(inv);
}
};
@@ -308,8 +308,8 @@
R forward(const P1 ¶m1, const P2 ¶m2) const
{
- InvocationType inv(getMethodName(), param1, param2);
- return getCoreMock().invoke(inv);
+ InvocationType inv(this->getMethodName(), param1, param2);
+ return this->getCoreMock().invoke(inv);
}
};
@@ -331,8 +331,8 @@
void forward(const P1 ¶m1, const P2 ¶m2) const
{
- InvocationType inv(getMethodName(), param1, param2);
- getCoreMock().invoke(inv);
+ InvocationType inv(this->getMethodName(), param1, param2);
+ this->getCoreMock().invoke(inv);
}
};
|