Skip to content

Commit 9d9f483

Browse files
committed
Use arrayhead (vs hashhead) in nomap.
1 parent a5b6e4e commit 9d9f483

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/bitcoin/database/primitives/nomap.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <bitcoin/system.hpp>
2323
#include <bitcoin/database/define.hpp>
2424
#include <bitcoin/database/memory/memory.hpp>
25-
#include <bitcoin/database/primitives/head.hpp>
25+
#include <bitcoin/database/primitives/arrayhead.hpp>
2626
#include <bitcoin/database/primitives/linkage.hpp>
2727
#include <bitcoin/database/primitives/manager.hpp>
2828

@@ -99,8 +99,8 @@ class nomap
9999

100100
private:
101101
static constexpr auto is_slab = (Size == max_size_t);
102-
using head = database::head<Link, system::data_array<zero>, false>;
103102
using manager = database::manager<Link, system::data_array<zero>, Size>;
103+
using head = database::arrayhead<Link>;
104104

105105
// Unsafe with zero buckets (index/top/push).
106106
// Not thread safe (create/open/close/backup/restore).

0 commit comments

Comments
 (0)