diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-14 11:09:54 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:50 -0400 |
commit | f83705b847c59a8197f5098cb7dc2d484704e24d (patch) | |
tree | 1b314d07bb9f50a75781d703ec6c778056e74684 /src/report.h | |
parent | 65af1688382331d91153fb2366026e94feb5afe2 (diff) | |
download | fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.tar.gz fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.tar.bz2 fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.zip |
Changed xpath to use intrusive_ptr; got the xml command working
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h index 51ee9386..0e0c30ad 100644 --- a/src/report.h +++ b/src/report.h @@ -74,7 +74,7 @@ class report_t : public xml::xpath_t::scope_t virtual ~report_t(); - void apply_transforms(xml::document_t * document); + void apply_transforms(xml::document_t& document); // // Utility functions for value expressions @@ -163,7 +163,7 @@ class report_t : public xml::xpath_t::scope_t virtual bool resolve(const string& name, value_t& result, xml::xpath_t::scope_t * locals); - virtual xml::xpath_t::op_t * lookup(const string& name); + virtual xml::xpath_t::ptr_op_t lookup(const string& name); }; string abbrev(const string& str, unsigned int width, |