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;