From c3c07b81a20931cffbdd143a6bd306f982da2e47 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 16 Feb 2014 15:55:06 +0000 Subject: [PATCH] Cleanup git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@713 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/function_template.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/turtle/detail/function_template.hpp b/turtle/detail/function_template.hpp index 52062e1..a517191 100644 --- a/turtle/detail/function_template.hpp +++ b/turtle/detail/function_template.hpp @@ -92,8 +92,7 @@ namespace detail { if( ! impl_->context_ ) c.add( *impl_ ); - c.add( impl_.get(), *impl_, instance, - boost::optional< type_name >(), "" ); + c.add( impl_.get(), *impl_, instance, boost::none, "" ); impl_->context_ = &c; return *this; }