diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-02 16:11:17 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-02 16:11:17 +0100 |
commit | 3c5e4e2788c7dcfa9d29c383c77396f9a3ffd4fa (patch) | |
tree | 849cf54a3627f8dcf36eecc30f9ca4324df2e534 /src/storage/Configured.hxx | |
parent | 3f4f7b0a53c00df5768f07fef5e444b60ad1a217 (diff) |
storage/Plugin: return std::unique_ptr<Storage>
Diffstat (limited to 'src/storage/Configured.hxx')
-rw-r--r-- | src/storage/Configured.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/storage/Configured.hxx b/src/storage/Configured.hxx index 4b630af04..084f720a4 100644 --- a/src/storage/Configured.hxx +++ b/src/storage/Configured.hxx @@ -23,6 +23,8 @@ #include "check.h" #include "Compiler.h" +#include <memory> + class Storage; class EventLoop; @@ -32,7 +34,7 @@ class EventLoop; * * Throws #std::runtime_error on error. */ -Storage * +std::unique_ptr<Storage> CreateConfiguredStorage(EventLoop &event_loop); /** |