diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 15:11:19 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-20 09:51:42 +0000 |
| commit | af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f (patch) | |
| tree | 1cd0e24fa031a9231b800b0b41102a5d95e7082c /src/selection-chemistry.cpp | |
| parent | Replace functions with methods in SPColor. (diff) | |
| download | inkscape-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.cpp | 8 |
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; +}; |
