From 76b2066b8ba41f51e8199bd91d93508cf464558c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 2 May 2007 03:04:40 +0000 Subject: More work to use boost/operators.hpp. --- src/textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index e464f9c3..da7cfbd6 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -66,7 +66,7 @@ parse_amount_expr(std::istream& in, journal_t *, } #endif - amount = xpath.calc(static_cast(xact.data)).to_amount(); + amount = xpath.calc(static_cast(xact.data)).amount(); DEBUG("ledger.textual.parse", "line " << linenum << ": " << "The transaction amount is " << amount); -- cgit v1.2.3