summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphCanvas.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 17:12:50 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 20:59:06 +0100
commitecad88d2128f920f5e11cc3ff443d62b225c79d3 (patch)
treec497cebca3455f4201f38d017db0f1566f8004f7 /src/gui/GraphCanvas.hpp
parent4ca52683ce01f833c552aa62dd80a6a3e48e785c (diff)
downloadingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.gz
ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.bz2
ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.zip
Cleanup: Use "using" instead of "typedef" where appropriate
Diffstat (limited to 'src/gui/GraphCanvas.hpp')
-rw-r--r--src/gui/GraphCanvas.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/GraphCanvas.hpp b/src/gui/GraphCanvas.hpp
index 613c03da..9047a373 100644
--- a/src/gui/GraphCanvas.hpp
+++ b/src/gui/GraphCanvas.hpp
@@ -102,7 +102,7 @@ private:
void auto_menu_position(int& x, int& y, bool& push_in);
- typedef std::multimap<const std::string, const LilvPluginClass*> LV2Children;
+ using LV2Children = std::multimap<const std::string, const LilvPluginClass*>;
Properties get_initial_data(Resource::Graph ctx=Resource::Graph::DEFAULT);
@@ -117,7 +117,7 @@ private:
App& _app;
SPtr<const client::GraphModel> _graph;
- typedef std::map<SPtr<const client::ObjectModel>, Ganv::Module*> Views;
+ using Views = std::map<SPtr<const client::ObjectModel>, Ganv::Module*>;
Views _views;
int _auto_position_count;