diff options
Diffstat (limited to 'src/dom/xpathtoken.h')
| -rw-r--r-- | src/dom/xpathtoken.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dom/xpathtoken.h b/src/dom/xpathtoken.h index 5bb87917b..cfd54298e 100644 --- a/src/dom/xpathtoken.h +++ b/src/dom/xpathtoken.h @@ -457,7 +457,7 @@ public: */ StackItem pop() { - if (stackItems.size() < 1) + if (stackItems.empty()) { //TODO: error here StackItem item; @@ -619,10 +619,6 @@ public: */ virtual void assign(const TokenExecutor &other); - /** - * Reset the stack to its original settings - */ - virtual void reset(); /** * Execute a list upon a given node. For each Axis encountered, |
