diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-02 16:18:34 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-02 16:18:34 +0100 |
commit | dcd483bd99446622c8fde6ad3e0df50ed40b4164 (patch) | |
tree | 86909c764f7ba4b093f9f042f39c2839ae31a7ce /src/Main.cxx | |
parent | 3c5e4e2788c7dcfa9d29c383c77396f9a3ffd4fa (diff) |
storage/Composite: use std::unique_ptr<Storage>
Diffstat (limited to 'src/Main.cxx')
-rw-r--r-- | src/Main.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 2a556af62..195acce33 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -181,7 +181,7 @@ InitStorage(EventLoop &event_loop) CompositeStorage *composite = new CompositeStorage(); instance->storage = composite; - composite->Mount("", storage.release()); + composite->Mount("", std::move(storage)); } /** |