Use simple std::map for the config
This commit is contained in:
+1
-2
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user