From 38140372d8c8dd32267943d5d79b2ce2c0a032fb Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 31 Oct 2017 15:01:57 +0100 Subject: Use std::make_unique --- src/poll_looper.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/poll_looper.hh') 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 + #include "looper.hh" class PollLooper : public Looper { public: - static PollLooper* create(); + static std::unique_ptr create(); virtual void run() = 0; -- cgit v1.3