summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-15 18:36:39 +0100
committerDavid Robillard <d@drobilla.net>2020-12-15 19:32:03 +0100
commitde277295f7e879eba882b158015ba99486b142a5 (patch)
tree1b1cf5bed57e8231e03ce970997c357e69ca8765 /ganv
parent7c84fcb0e6bcddc043b7b92dd9d854167844948f (diff)
downloadganv-de277295f7e879eba882b158015ba99486b142a5.tar.gz
ganv-de277295f7e879eba882b158015ba99486b142a5.tar.bz2
ganv-de277295f7e879eba882b158015ba99486b142a5.zip
Use "using"
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Module.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ganv/Module.hpp b/ganv/Module.hpp
index 8d13700..343b815 100644
--- a/ganv/Module.hpp
+++ b/ganv/Module.hpp
@@ -98,8 +98,8 @@ public:
guint _index;
};
- typedef iterator_base<Port, GanvPort> iterator;
- typedef iterator_base<const Port, const GanvPort> const_iterator;
+ using iterator = iterator_base<Port, GanvPort>;
+ using const_iterator = iterator_base<const Port, const GanvPort>;
iterator begin() { return iterator(gobj(), 0); }
iterator end() { return iterator(gobj(), num_ports()); }