summaryrefslogtreecommitdiff
path: root/src/poll_looper.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/poll_looper.hh')
-rw-r--r--src/poll_looper.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/poll_looper.hh b/src/poll_looper.hh
index 16097fe..8f6038e 100644
--- a/src/poll_looper.hh
+++ b/src/poll_looper.hh
@@ -1,11 +1,13 @@
#ifndef POLL_LOOPER_HH
#define POLL_LOOPER_HH
+#include <memory>
+
#include "looper.hh"
class PollLooper : public Looper {
public:
- static PollLooper* create();
+ static std::unique_ptr<PollLooper> create();
virtual void run() = 0;