summaryrefslogtreecommitdiff
path: root/project2/daemon/lib
diff options
context:
space:
mode:
Diffstat (limited to 'project2/daemon/lib')
-rw-r--r--project2/daemon/lib/daemon.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/project2/daemon/lib/daemon.h b/project2/daemon/lib/daemon.h
index fb850b7..1b33957 100644
--- a/project2/daemon/lib/daemon.h
+++ b/project2/daemon/lib/daemon.h
@@ -3,10 +3,9 @@
#include <glibmm/ustring.h>
#include <factory.h>
-#include <intrusivePtrBase.h>
#include <visibility.h>
-class DLL_PUBLIC Daemon : public IntrusivePtrBase {
+class DLL_PUBLIC Daemon {
public:
Daemon();
virtual ~Daemon();
@@ -17,7 +16,7 @@ class DLL_PUBLIC Daemon : public IntrusivePtrBase {
virtual void shutdown() const = 0;
};
-typedef boost::intrusive_ptr<Daemon> DaemonPtr;
+typedef std::shared_ptr<Daemon> DaemonPtr;
typedef AdHoc::Factory<Daemon, int &, char **> DaemonFactory;
#endif