summaryrefslogtreecommitdiff
path: root/src/monitor.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2017-10-31 15:01:57 +0100
committerJoel Klinghed <the_jk@opera.com>2017-10-31 15:01:57 +0100
commit38140372d8c8dd32267943d5d79b2ce2c0a032fb (patch)
tree0e2555e591092f934e05451ef4a6df18c5ddc739 /src/monitor.hh
parent2e5352a1128da3ff4637561788a7da8e6b24ab9c (diff)
Use std::make_unique
Diffstat (limited to 'src/monitor.hh')
-rw-r--r--src/monitor.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.hh b/src/monitor.hh
index b7ddbea..14168f0 100644
--- a/src/monitor.hh
+++ b/src/monitor.hh
@@ -40,7 +40,7 @@ public:
virtual ~Monitor() {}
- static Monitor* create(std::shared_ptr<Looper> const& looper);
+ static std::unique_ptr<Monitor> create(std::shared_ptr<Looper> const& looper);
virtual void connect(std::string const& netname = std::string(),
std::string const& scheduler = std::string(),