summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 05:37:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:52 -0400
commit8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc (patch)
treeb34a2bee1fa2772050ace252a4c691ffcf927c68 /src/session.h
parent023f28630f7ed8f845eab00b137d58cc79b4445b (diff)
downloadfork-ledger-8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc.tar.gz
fork-ledger-8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc.tar.bz2
fork-ledger-8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc.zip
Changed scope resolution to use the new value_t.
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);
//