1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 11:13:16 +01:00

Loaded modules managed by smart pointers

This commit is contained in:
Paul Licameli
2016-03-31 12:16:26 -04:00
parent e0476b5e71
commit 29349fedbb
2 changed files with 7 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ using ModuleInterfaceHandle = movable_ptr_with_deleter<
typedef std::map<wxString, ModuleMain *> ModuleMainMap;
typedef std::map<wxString, ModuleInterfaceHandle> ModuleMap;
typedef std::map<ModuleInterface *, wxDynamicLibrary *> LibraryMap;
typedef std::map<ModuleInterface *, movable_ptr<wxDynamicLibrary>> LibraryMap;
class ModuleManager final : public ModuleManagerInterface
{