summaryrefslogtreecommitdiff
path: root/project2/common/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/session.h')
-rw-r--r--project2/common/session.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/project2/common/session.h b/project2/common/session.h
index 1a77a88..4e9f277 100644
--- a/project2/common/session.h
+++ b/project2/common/session.h
@@ -4,15 +4,13 @@
#include <boost/uuid/uuid.hpp>
#include <map>
#include <glibmm/ustring.h>
-#include <boost/intrusive_ptr.hpp>
#include <boost/function.hpp>
-#include "intrusivePtrBase.h"
#include "variables.h"
#include "exceptions.h"
#include <visibility.h>
/// Base class for classes implementing session variable storage
-class DLL_PUBLIC Session : public virtual IntrusivePtrBase {
+class DLL_PUBLIC Session {
public:
SimpleMessageException(VariableNotFound);
typedef std::map<Glib::ustring, VariableType> Values;
@@ -40,7 +38,7 @@ class DLL_PUBLIC Session : public virtual IntrusivePtrBase {
private:
mutable boost::uuids::uuid id;
};
-typedef boost::intrusive_ptr<Session> SessionPtr;
+typedef std::shared_ptr<Session> SessionPtr;
#endif