summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 15:11:19 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-20 09:51:42 +0000
commitaf7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f (patch)
tree1cd0e24fa031a9231b800b0b41102a5d95e7082c /src/selection-chemistry.cpp
parentReplace functions with methods in SPColor. (diff)
downloadinkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.tar.gz
inkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.zip
Replace typedef struct with struct in POD type declarations.
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp8
1 files changed, 4 insertions, 4 deletions
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<SPObject *> *Iterator;
static Iterator children(SPObject *o) {
@@ -2377,7 +2377,7 @@ private:
}
return list;
}
-} ListReverse;
+};