diff options
Diffstat (limited to 'src/server/BlockFactory.hpp')
-rw-r--r-- | src/server/BlockFactory.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/BlockFactory.hpp b/src/server/BlockFactory.hpp index 80f99563..cac9a1d1 100644 --- a/src/server/BlockFactory.hpp +++ b/src/server/BlockFactory.hpp @@ -43,11 +43,11 @@ public: * * @return The set of newly loaded plugins. */ - std::set<PluginImpl*> refresh(); + std::set<SPtr<PluginImpl>> refresh(); void load_plugin(const URI& uri); - typedef std::map<URI, PluginImpl*> Plugins; + using Plugins = std::map<URI, SPtr<PluginImpl>>; const Plugins& plugins(); PluginImpl* plugin(const URI& uri); |