diff --git a/Matching/src/orderbook.hpp b/Matching/src/orderbook.hpp index e9aa2e1..5be15bc 100644 --- a/Matching/src/orderbook.hpp +++ b/Matching/src/orderbook.hpp @@ -17,6 +17,7 @@ #include "tbb/parallel_reduce.h" #include "tbb/blocked_range.h" #include +#include #include #include #include @@ -127,8 +128,7 @@ class OrderBook } compare_type type; }; - using map_allocator = boost::container::adaptive_pool>; - using order_tree_type = boost::container::map; + using order_tree_type = boost::container::flat_map; order_tree_type buy_tree_; order_tree_type sell_tree_; public: