diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-04-21 05:26:40 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-04-21 05:34:14 -0700 |
commit | e6756ad33579766cd73973b7489ef2be9427a4c4 (patch) | |
tree | d865660c9e1c9b9ada49cac13ae60002603ed61c /src | |
parent | 344a2c4122db5ae309e6dddc99b3e136fd307238 (diff) | |
download | bitcoin-e6756ad33579766cd73973b7489ef2be9427a4c4.tar.xz |
Switch CCoinsMap from boost to std unordered_map
Diffstat (limited to 'src')
-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 |