aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-04-21 05:26:40 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-04-21 05:34:14 -0700
commite6756ad33579766cd73973b7489ef2be9427a4c4 (patch)
treed865660c9e1c9b9ada49cac13ae60002603ed61c /src/coins.h
parent344a2c4122db5ae309e6dddc99b3e136fd307238 (diff)
Switch CCoinsMap from boost to std unordered_map
Diffstat (limited to 'src/coins.h')
-rw-r--r--src/coins.h4
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