diff --git a/nano/node/bounded_backlog.hpp b/nano/node/bounded_backlog.hpp index 2d6981c190..4eb0cc16bf 100644 --- a/nano/node/bounded_backlog.hpp +++ b/nano/node/bounded_backlog.hpp @@ -17,6 +17,8 @@ #include #include +#include + namespace mi = boost::multi_index; namespace nano @@ -87,7 +89,7 @@ class backlog_index ordered_blocks blocks; // Keep track of the size of the backlog in number of unconfirmed blocks per bucket - std::map size_by_bucket; + std::unordered_map size_by_bucket; }; class bounded_backlog_config