diff options
Diffstat (limited to 'ganv')
-rw-r--r-- | ganv/Module.hpp | 4 |
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()); } |