summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-03-15 16:30:42 -0700
committerJohn Wiegley <johnw@newartisans.com>2019-03-15 17:30:47 -0700
commit1d8f88333fbf209a6af2160f91da4e62f8acc767 (patch)
treee5596a2469d152ffb90dad7ff566201d59d84b4f /src/balance.h
parentf0dacdb22f2888be104711d9092ca43d770965f2 (diff)
downloadfork-ledger-1d8f88333fbf209a6af2160f91da4e62f8acc767.tar.gz
fork-ledger-1d8f88333fbf209a6af2160f91da4e62f8acc767.tar.bz2
fork-ledger-1d8f88333fbf209a6af2160f91da4e62f8acc767.zip
Switch amounts_map to std::unordered_map
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 b9c9c2c8..4ad960df 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -80,7 +80,7 @@ class balance_t
multiplicative<balance_t, long> > > > > > > > > > > > > >
{
public:
- typedef std::map<commodity_t *, amount_t> amounts_map;
+ typedef std::unordered_map<commodity_t *, amount_t> amounts_map;
typedef std::vector<const amount_t *> amounts_array;
amounts_map amounts;