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/PluginModel.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/PluginModel.hpp')
-rw-r--r-- | ingen/client/PluginModel.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ingen/client/PluginModel.hpp b/ingen/client/PluginModel.hpp index 468816aa..5f43b3c4 100644 --- a/ingen/client/PluginModel.hpp +++ b/ingen/client/PluginModel.hpp @@ -67,10 +67,10 @@ public: std::string human_name() const; std::string port_human_name(uint32_t i) const; - typedef std::map<float, std::string> ScalePoints; + using ScalePoints = std::map<float, std::string>; ScalePoints port_scale_points(uint32_t i) const; - typedef std::map<URI, std::string> Presets; + using Presets = std::map<URI, std::string>; const Presets& presets() const { return _presets; } static LilvWorld* lilv_world() { return _lilv_world; } |