summaryrefslogtreecommitdiffstats
path: root/ingen/Node.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 /ingen/Node.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 'ingen/Node.hpp')
-rw-r--r--ingen/Node.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ingen/Node.hpp b/ingen/Node.hpp
index 038627b0..24e45f2a 100644
--- a/ingen/Node.hpp
+++ b/ingen/Node.hpp
@@ -61,8 +61,8 @@ public:
PORT
};
- typedef std::pair<const Node*, const Node*> ArcsKey;
- typedef std::map< ArcsKey, SPtr<Arc> > Arcs;
+ using ArcsKey = std::pair<const Node*, const Node*>;
+ using Arcs = std::map<ArcsKey, SPtr<Arc>>;
// Graphs only
Arcs& arcs() { return _arcs; }