X-Git-Url: https://git.tokkee.org/?p=inkscape.git;a=blobdiff_plain;f=src%2Fxml%2Fnode-iterators.h;h=389d70be0eb1191885c8b5592266cb789e5a63ef;hp=0868fb2ab8fd493cb458e62d7e4c78e3d53a43bf;hb=9dc68827cbd515262ecb8d5ae8547d9e82c72e00;hpb=072de79e6270f4137fa48a8a73491e8a0904d8f8 diff --git a/src/xml/node-iterators.h b/src/xml/node-iterators.h index 0868fb2ab..389d70be0 100644 --- a/src/xml/node-iterators.h +++ b/src/xml/node-iterators.h @@ -23,6 +23,7 @@ struct NodeSiblingIteratorStrategy { return ( node ? node->next() : NULL ); } }; + struct NodeParentIteratorStrategy { static Node const *next(Node const *node) { return ( node ? node->parent() : NULL ); @@ -58,4 +59,4 @@ typedef Inkscape::Util::ForwardPointerIterator