Fix for gcc

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@452 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-05-08 21:28:41 +00:00
parent bc81a751a4
commit 044d5843e7

View file

@ -193,7 +193,8 @@ namespace mock
virtual void reset()
{
valid_ = true;
boost::shared_ptr< function_impl > guard = shared_from_this();
boost::shared_ptr< function_impl > guard =
this->shared_from_this();
expectations_.clear();
}