summaryrefslogtreecommitdiff
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-02 16:18:34 +0100
committerMax Kellermann <max@musicpd.org>2018-01-02 16:18:34 +0100
commitdcd483bd99446622c8fde6ad3e0df50ed40b4164 (patch)
tree86909c764f7ba4b093f9f042f39c2839ae31a7ce /src/Main.cxx
parent3c5e4e2788c7dcfa9d29c383c77396f9a3ffd4fa (diff)
storage/Composite: use std::unique_ptr<Storage>
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx2
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));
}
/**