Use simple std::map for the config

Vitaliy Filippov 2022-06-28 01:42:10 +03:00
parent 078ed5b116
commit 30907852c2
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,6 @@
#include <string> #include <string>
#include <map> #include <map>
#include <unordered_map>
#include <functional> #include <functional>
#include "object_id.h" #include "object_id.h"
@ -155,7 +154,7 @@ struct blockstore_op_t
uint8_t private_data[BS_OP_PRIVATE_DATA_SIZE]; uint8_t private_data[BS_OP_PRIVATE_DATA_SIZE];
}; };
typedef std::unordered_map<std::string, std::string> blockstore_config_t; typedef std::map<std::string, std::string> blockstore_config_t;
class blockstore_impl_t; class blockstore_impl_t;

View File

@ -17,6 +17,7 @@
#include <list> #include <list>
#include <deque> #include <deque>
#include <new> #include <new>
#include <unordered_map>
#include "cpp-btree/btree_map.h" #include "cpp-btree/btree_map.h"