From de277295f7e879eba882b158015ba99486b142a5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Dec 2020 18:36:39 +0100 Subject: Use "using" --- ganv/Module.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ganv') 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 iterator; - typedef iterator_base const_iterator; + using iterator = iterator_base; + using const_iterator = iterator_base; iterator begin() { return iterator(gobj(), 0); } iterator end() { return iterator(gobj(), num_ports()); } -- cgit v1.2.1