From c2a1655799c5d5dab9b14bd2a6b2d2296efd6964 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Thu, 13 Jan 2022 12:38:23 -0500 Subject: [PATCH] style-only: Use using instead of typedef for BlockMap --- src/node/blockstorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h index be1ed830647..12224f7a5de 100644 --- a/src/node/blockstorage.h +++ b/src/node/blockstorage.h @@ -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` -typedef std::unordered_map BlockMap; +using BlockMap = std::unordered_map; struct CBlockIndexWorkComparator { bool operator()(const CBlockIndex* pa, const CBlockIndex* pb) const;