From 30907852c2b859f0df20e61dbf7794c919779f9c Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 28 Jun 2022 01:42:10 +0300 Subject: [PATCH] Use simple std::map for the config --- src/blockstore.h | 3 +-- src/blockstore_impl.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockstore.h b/src/blockstore.h index 56fb4c86..9d3d334e 100644 --- a/src/blockstore.h +++ b/src/blockstore.h @@ -11,7 +11,6 @@ #include #include -#include #include #include "object_id.h" @@ -155,7 +154,7 @@ struct blockstore_op_t uint8_t private_data[BS_OP_PRIVATE_DATA_SIZE]; }; -typedef std::unordered_map blockstore_config_t; +typedef std::map blockstore_config_t; class blockstore_impl_t; diff --git a/src/blockstore_impl.h b/src/blockstore_impl.h index 3ecd26eb..51f61be4 100644 --- a/src/blockstore_impl.h +++ b/src/blockstore_impl.h @@ -17,6 +17,7 @@ #include #include #include +#include #include "cpp-btree/btree_map.h"