summaryrefslogtreecommitdiff
path: root/src/poll_looper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/poll_looper.cc')
-rw-r--r--src/poll_looper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poll_looper.cc b/src/poll_looper.cc
index 71788e0..5d689ea 100644
--- a/src/poll_looper.cc
+++ b/src/poll_looper.cc
@@ -244,6 +244,6 @@ private:
} // namespace
// static
-PollLooper* PollLooper::create() {
- return new PollLooperImpl();
+std::unique_ptr<PollLooper> PollLooper::create() {
+ return std::make_unique<PollLooperImpl>();
}