Use std::unordered_{map,set} (C++11) instead of boost::unordered_{map,set}

This commit is contained in:
practicalswift
2017-06-07 15:04:38 +02:00
parent 1b708f2cf3
commit 246a02fb14
2 changed files with 1 additions and 19 deletions

View File

@@ -30,8 +30,6 @@
#include <atomic>
#include <boost/unordered_map.hpp>
class CBlockIndex;
class CBlockTreeDB;
class CBloomFilter;
@@ -161,7 +159,7 @@ extern CScript COINBASE_FLAGS;
extern CCriticalSection cs_main;
extern CBlockPolicyEstimator feeEstimator;
extern CTxMemPool mempool;
typedef boost::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
extern BlockMap mapBlockIndex;
extern uint64_t nLastBlockTx;
extern uint64_t nLastBlockSize;