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/fake_monitor.hh | |
| parent | 2e5352a1128da3ff4637561788a7da8e6b24ab9c (diff) | |
Use std::make_unique
Diffstat (limited to 'src/fake_monitor.hh')
| -rw-r--r-- | src/fake_monitor.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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<Looper> const& looper); + static std::unique_ptr<Monitor> create(std::shared_ptr<Looper> const& looper); }; #endif // FAKE_MONITOR_HH |
