From af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 19 Jun 2018 17:11:19 +0200 Subject: Replace typedef struct with struct in POD type declarations. --- src/selection-chemistry.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/selection-chemistry.cpp') diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 8c47d1934..3e1bb56aa 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -2334,7 +2334,7 @@ void ObjectSet::moveScreen(double dx, double dy) -typedef struct Forward { +struct Forward { typedef SPObject *Iterator; static Iterator children(SPObject *o) { return o->firstChild(); } @@ -2344,9 +2344,9 @@ typedef struct Forward { static SPObject *object(Iterator i) { return i; } static Iterator next(Iterator i) { return i->getNext(); } static bool isNull(Iterator i) {return (!i);} -} Forward; +}; -typedef struct ListReverse { +struct ListReverse { typedef std::list *Iterator; static Iterator children(SPObject *o) { @@ -2377,7 +2377,7 @@ private: } return list; } -} ListReverse; +}; -- cgit v1.2.3