From 41d4998ea97627af170cb702f5a78ab0b22f4339 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 5 Jul 2013 17:55:24 -0700 Subject: gras: make callable a copyable class --- include/gras/callable.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/gras') diff --git a/include/gras/callable.hpp b/include/gras/callable.hpp index 32d6d17..6573370 100644 --- a/include/gras/callable.hpp +++ b/include/gras/callable.hpp @@ -5,8 +5,8 @@ #include <gras/gras.hpp> #include <PMC/PMC.hpp> +#include <boost/shared_ptr.hpp> #include <string> -#include <vector> namespace gras { @@ -92,7 +92,7 @@ struct GRAS_API Callable ******************************************************************/ void _register_call(const std::string &, void *); virtual PMCC _handle_call(const std::string &, const PMCC *); - void *_call_registry; + boost::shared_ptr<void> _call_registry; }; } //namespace gras -- cgit