summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-30 18:01:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-30 18:01:44 -0400
commitfefedefd56036cef5267b6686a1296d1d4e2b752 (patch)
tree46eb7462ce57ad3fc6a9ef72335d1aed5db4219e /src/balance.h
parent7ca80112fc817687481a40b65e4faa56a92c3ebe (diff)
downloadfork-ledger-fefedefd56036cef5267b6686a1296d1d4e2b752.tar.gz
fork-ledger-fefedefd56036cef5267b6686a1296d1d4e2b752.tar.bz2
fork-ledger-fefedefd56036cef5267b6686a1296d1d4e2b752.zip
balance_t does not need to refer to const commodities
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/balance.h b/src/balance.h
index fe8afe2b..6a382069 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -80,7 +80,7 @@ class balance_t
multiplicative<balance_t, long> > > > > > > > > > > > > >
{
public:
- typedef std::map<const commodity_t *, amount_t> amounts_map;
+ typedef std::map<commodity_t *, amount_t> amounts_map;
amounts_map amounts;