From 6bb3c48972d172fec244afae08a905e2246d9cda Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Mar 2019 06:50:14 +0100 Subject: Use smart pointers over manual memory management --- src/server/BlockFactory.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/BlockFactory.hpp') 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 refresh(); + std::set> refresh(); void load_plugin(const URI& uri); - typedef std::map Plugins; + using Plugins = std::map>; const Plugins& plugins(); PluginImpl* plugin(const URI& uri); -- cgit v1.2.1