From 044d5843e703763beb27ef5a45045c4038424a79 Mon Sep 17 00:00:00 2001 From: mat007 Date: Tue, 8 May 2012 21:28:41 +0000 Subject: [PATCH] Fix for gcc git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@452 860be788-9bd5-4423-9f1e-828f051e677b --- src/libraries/turtle/function.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libraries/turtle/function.hpp b/src/libraries/turtle/function.hpp index bc2d161..e5d96f9 100644 --- a/src/libraries/turtle/function.hpp +++ b/src/libraries/turtle/function.hpp @@ -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(); }