We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd79dad commit c2a1655Copy full SHA for c2a1655
src/node/blockstorage.h
@@ -56,7 +56,7 @@ extern uint64_t nPruneTarget;
56
// we ever switch to another associative container, we need to either use a
57
// container that has stable addressing (true of all std associative
58
// containers), or make the key a `std::unique_ptr<CBlockIndex>`
59
-typedef std::unordered_map<uint256, CBlockIndex, BlockHasher> BlockMap;
+using BlockMap = std::unordered_map<uint256, CBlockIndex, BlockHasher>;
60
61
struct CBlockIndexWorkComparator {
62
bool operator()(const CBlockIndex* pa, const CBlockIndex* pb) const;
0 commit comments