Use std::hash<object_id> instead of oid_hash

This commit is contained in:
Vitaliy Filippov
2019-12-15 14:57:18 +03:00
parent a7e74670a5
commit 71635f2327
2 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ class blockstore_impl_t
struct ring_consumer_t ring_consumer;
// Another option is https://github.com/algorithm-ninja/cpp-btree
spp::sparse_hash_map<object_id, clean_entry, oid_hash> clean_db;
spp::sparse_hash_map<object_id, clean_entry> clean_db;
std::map<obj_ver_id, dirty_entry> dirty_db;
std::list<blockstore_op_t*> submit_queue; // FIXME: funny thing is that vector is better here
std::vector<obj_ver_id> unsynced_big_writes, unsynced_small_writes;