summaryrefslogtreecommitdiff
path: root/src/report.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/report.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/report.h')
-rw-r--r--src/report.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h
index de5773d1..bf43e927 100644
--- a/src/report.h
+++ b/src/report.h
@@ -161,8 +161,8 @@ class report_t : public xml::xpath_t::scope_t
// Scope members
//
- virtual bool resolve(const string& name, value_t& result,
- xml::xpath_t::scope_t * locals);
+ virtual optional<value_t> resolve(const string& name,
+ xml::xpath_t::scope_t * locals);
virtual xml::xpath_t::ptr_op_t lookup(const string& name);
};