summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 14:53:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 14:53:29 -0400
commit02110394b45fdf4121f00f3484f0caeacb7c404e (patch)
tree61feecac387c78bbcc7c0b0c894c0b8aa4d26d31 /src/account.h
parent3ee3b8f327fa1943dba4ef6043559186b26f86b4 (diff)
downloadfork-ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.tar.gz
fork-ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.tar.bz2
fork-ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.zip
Use the report's amount_expr everywhere that computes an xact's amount.
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account.h b/src/account.h
index 18792154..24414403 100644
--- a/src/account.h
+++ b/src/account.h
@@ -178,7 +178,7 @@ class account_t : public scope_t
return *xdata_;
}
- void calculate_sums(expr_t& amount_expr, scope_t& scope);
+ void calculate_sums(expr_t& amount_expr);
};
std::ostream& operator<<(std::ostream& out, const account_t& account);