Skip to content

Commit c2a1655

Browse files
committed
style-only: Use using instead of typedef for BlockMap
1 parent dd79dad commit c2a1655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/blockstorage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ extern uint64_t nPruneTarget;
5656
// we ever switch to another associative container, we need to either use a
5757
// container that has stable addressing (true of all std associative
5858
// containers), or make the key a `std::unique_ptr<CBlockIndex>`
59-
typedef std::unordered_map<uint256, CBlockIndex, BlockHasher> BlockMap;
59+
using BlockMap = std::unordered_map<uint256, CBlockIndex, BlockHasher>;
6060

6161
struct CBlockIndexWorkComparator {
6262
bool operator()(const CBlockIndex* pa, const CBlockIndex* pb) const;

0 commit comments

Comments
 (0)