From fae332c09fd92bc336834ad6ebe4604ae5308ec4 Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Tue, 10 May 2011 10:01:14 +0200 Subject: [PATCH] shared pointer def --- pvDataApp/misc/destroyable.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pvDataApp/misc/destroyable.h b/pvDataApp/misc/destroyable.h index e709e67..02ae4a0 100644 --- a/pvDataApp/misc/destroyable.h +++ b/pvDataApp/misc/destroyable.h @@ -6,6 +6,9 @@ */ #ifndef DESTROYABLE_H #define DESTROYABLE_H + +#include + namespace epics { namespace pvData { @@ -15,6 +18,8 @@ namespace epics { namespace pvData { */ class Destroyable { public: + typedef std::tr1::shared_ptr shared_pointer; + typedef std::tr1::shared_ptr const_shared_pointer; /** * Destroy this instance. */