mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
bc81a751a4
commit
044d5843e7
1 changed files with 2 additions and 1 deletions
|
|
@ -193,7 +193,8 @@ namespace mock
|
||||||
virtual void reset()
|
virtual void reset()
|
||||||
{
|
{
|
||||||
valid_ = true;
|
valid_ = true;
|
||||||
boost::shared_ptr< function_impl > guard = shared_from_this();
|
boost::shared_ptr< function_impl > guard =
|
||||||
|
this->shared_from_this();
|
||||||
expectations_.clear();
|
expectations_.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue