mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
style-only: Use using instead of typedef for BlockMap
This commit is contained in:
parent
dd79dad175
commit
c2a1655799
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ extern uint64_t nPruneTarget;
|
|||
// we ever switch to another associative container, we need to either use a
|
||||
// container that has stable addressing (true of all std associative
|
||||
// containers), or make the key a `std::unique_ptr<CBlockIndex>`
|
||||
typedef std::unordered_map<uint256, CBlockIndex, BlockHasher> BlockMap;
|
||||
using BlockMap = std::unordered_map<uint256, CBlockIndex, BlockHasher>;
|
||||
|
||||
struct CBlockIndexWorkComparator {
|
||||
bool operator()(const CBlockIndex* pa, const CBlockIndex* pb) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue