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/monitor.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/monitor.hh') 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 const& looper); + static std::unique_ptr create(std::shared_ptr const& looper); virtual void connect(std::string const& netname = std::string(), std::string const& scheduler = std::string(), -- cgit v1.3