diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 17:12:50 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | ecad88d2128f920f5e11cc3ff443d62b225c79d3 (patch) | |
tree | c497cebca3455f4201f38d017db0f1566f8004f7 /ingen/client/ClientStore.hpp | |
parent | 4ca52683ce01f833c552aa62dd80a6a3e48e785c (diff) | |
download | ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.gz ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.bz2 ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.zip |
Cleanup: Use "using" instead of "typedef" where appropriate
Diffstat (limited to 'ingen/client/ClientStore.hpp')
-rw-r--r-- | ingen/client/ClientStore.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ingen/client/ClientStore.hpp b/ingen/client/ClientStore.hpp index 5cb097e8..7d83e9f6 100644 --- a/ingen/client/ClientStore.hpp +++ b/ingen/client/ClientStore.hpp @@ -71,7 +71,8 @@ public: void clear(); - typedef std::map< const URI, SPtr<PluginModel> > Plugins; + using Plugins = std::map<const URI, SPtr<PluginModel>>; + SPtr<const Plugins> plugins() const { return _plugins; } SPtr<Plugins> plugins() { return _plugins; } void set_plugins(SPtr<Plugins> p) { _plugins = p; } |