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/fake_monitor.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fake_monitor.hh') diff --git a/src/fake_monitor.hh b/src/fake_monitor.hh index 836e082..bb5cdc9 100644 --- a/src/fake_monitor.hh +++ b/src/fake_monitor.hh @@ -5,7 +5,7 @@ class FakeMonitor : public Monitor { public: - static Monitor* create(std::shared_ptr const& looper); + static std::unique_ptr create(std::shared_ptr const& looper); }; #endif // FAKE_MONITOR_HH -- cgit v1.3