diff options
author | John Wiegley <johnw@newartisans.com> | 2019-03-15 16:30:42 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2019-03-15 17:30:47 -0700 |
commit | 1d8f88333fbf209a6af2160f91da4e62f8acc767 (patch) | |
tree | e5596a2469d152ffb90dad7ff566201d59d84b4f /src/balance.h | |
parent | f0dacdb22f2888be104711d9092ca43d770965f2 (diff) | |
download | fork-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.h | 2 |
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; |