summaryrefslogtreecommitdiff
path: root/lib/gras_impl/token.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gras_impl/token.hpp')
-rw-r--r--lib/gras_impl/token.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gras_impl/token.hpp b/lib/gras_impl/token.hpp
index 4923f74..d5b438a 100644
--- a/lib/gras_impl/token.hpp
+++ b/lib/gras_impl/token.hpp
@@ -18,10 +18,13 @@
#define INCLUDED_LIBGRAS_IMPL_TOKEN_HPP
#include <boost/shared_ptr.hpp>
+#include <boost/weak_ptr.hpp>
namespace gnuradio
{
+typedef boost::weak_ptr<int> WeakToken;
+
struct Token : boost::shared_ptr<int>
{
static Token make(void)