summaryrefslogtreecommitdiffstats
path: root/ingen/client
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/client')
-rw-r--r--ingen/client/BlockModel.hpp2
-rw-r--r--ingen/client/ClientStore.hpp3
-rw-r--r--ingen/client/PluginModel.hpp4
3 files changed, 5 insertions, 4 deletions
diff --git a/ingen/client/BlockModel.hpp b/ingen/client/BlockModel.hpp
index 6b9881c5..f6aa731a 100644
--- a/ingen/client/BlockModel.hpp
+++ b/ingen/client/BlockModel.hpp
@@ -50,7 +50,7 @@ public:
GraphType graph_type() const override { return Node::GraphType::BLOCK; }
- typedef std::vector< SPtr<const PortModel> > Ports;
+ using Ports = std::vector<SPtr<const PortModel>>;
SPtr<const PortModel> get_port(const Raul::Symbol& symbol) const;
SPtr<const PortModel> get_port(uint32_t index) const;
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; }
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; }