diff options
| author | Joel Klinghed <the_jk@opera.com> | 2017-10-31 15:01:57 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@opera.com> | 2017-10-31 15:01:57 +0100 |
| commit | 38140372d8c8dd32267943d5d79b2ce2c0a032fb (patch) | |
| tree | 0e2555e591092f934e05451ef4a6df18c5ddc739 /src/poll_looper.hh | |
| parent | 2e5352a1128da3ff4637561788a7da8e6b24ab9c (diff) | |
Use std::make_unique
Diffstat (limited to 'src/poll_looper.hh')
| -rw-r--r-- | src/poll_looper.hh | 4 |
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; |
