summaryrefslogtreecommitdiffstats
path: root/src/dom/dom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/dom.h')
-rw-r--r--src/dom/dom.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dom/dom.h b/src/dom/dom.h
index ab82c4298..6741d375d 100644
--- a/src/dom/dom.h
+++ b/src/dom/dom.h
@@ -882,6 +882,14 @@ public:
*/
virtual ~NodeList() {}
+ /**
+ *
+ */
+ virtual void clear()
+ {
+ nodes.clear();
+ }
+
protected:
friend class NodeImpl;