summaryrefslogtreecommitdiff
path: root/xpath.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpath.h')
-rw-r--r--xpath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xpath.h b/xpath.h
index 5c364b6a..f62a3082 100644
--- a/xpath.h
+++ b/xpath.h
@@ -311,6 +311,7 @@ private:
if (&other == this)
return *this;
assert(0);
+ return *this;
}
void clear() {
@@ -606,6 +607,7 @@ public:
unsigned long * end_pos) const {
if (ptr)
ptr->write(out, relaxed, op_to_find, start_pos, end_pos);
+ return true;
}
public: