diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-04-24 16:01:44 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-04-24 16:06:15 -0700 |
commit | c73af5416b66f09cec0eb106f5a10f9bb6ef9cb1 (patch) | |
tree | 333e7793d320544227392661d8760944e5acabc3 /src/coins.h | |
parent | fa1ac2881f2a751fba61e18c8be8645f3460b209 (diff) | |
parent | e6756ad33579766cd73973b7489ef2be9427a4c4 (diff) | |
download | bitcoin-c73af5416b66f09cec0eb106f5a10f9bb6ef9cb1.tar.xz |
Merge #10249: Switch CCoinsMap from boost to std unordered_map
e6756ad Switch CCoinsMap from boost to std unordered_map (Pieter Wuille)
344a2c4 Add support for std::unordered_{map,set} to memusage.h (Pieter Wuille)
Tree-SHA512: 51288301e7c0f29ffac8c59f4cc73ddc36b7abeb764009da6543f2eaeeb9f89bd47dde48131a7e0aefad8f7cb0b74b2f33b8be052c8e8a718339c3e6bb963447
Diffstat (limited to 'src/coins.h')
-rw-r--r-- | src/coins.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coins.h b/src/coins.h index 0cb8519df8..065bae56e9 100644 --- a/src/coins.h +++ b/src/coins.h @@ -18,7 +18,7 @@ #include <stdint.h> #include <boost/foreach.hpp> -#include <boost/unordered_map.hpp> +#include <unordered_map> /** * Pruned version of CTransaction: only retains metadata and unspent transaction outputs @@ -280,7 +280,7 @@ struct CCoinsCacheEntry CCoinsCacheEntry() : coins(), flags(0) {} }; -typedef boost::unordered_map<uint256, CCoinsCacheEntry, SaltedTxidHasher> CCoinsMap; +typedef std::unordered_map<uint256, CCoinsCacheEntry, SaltedTxidHasher> CCoinsMap; /** Cursor for iterating over CoinsView state */ class CCoinsViewCursor |