summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.h b/src/session.h
index 8db9faf1..6f7b5a12 100644
--- a/src/session.h
+++ b/src/session.h
@@ -180,8 +180,8 @@ class session_t : public xml::xpath_t::scope_t
// Scope members
//
- virtual bool resolve(const string& name, value_t& result,
- xml::xpath_t::scope_t * locals = NULL);
+ virtual optional<value_t> resolve(const string& name,
+ xml::xpath_t::scope_t * locals = NULL);
virtual xml::xpath_t::ptr_op_t lookup(const string& name);
//