diff options
author | Josh Blum | 2013-07-05 17:55:24 -0700 |
---|---|---|
committer | Josh Blum | 2013-07-05 17:55:24 -0700 |
commit | 41d4998ea97627af170cb702f5a78ab0b22f4339 (patch) | |
tree | ba4b9fecf2124cd8b5fa1ffba89688ab6402d1cf /include/gras | |
parent | aa2c285ac86e5671fa418d336920c1c300cf9737 (diff) | |
download | sandhi-41d4998ea97627af170cb702f5a78ab0b22f4339.tar.gz sandhi-41d4998ea97627af170cb702f5a78ab0b22f4339.tar.bz2 sandhi-41d4998ea97627af170cb702f5a78ab0b22f4339.zip |
gras: make callable a copyable class
Diffstat (limited to 'include/gras')
-rw-r--r-- | include/gras/callable.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |