We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e3b161 commit 3b2fe39Copy full SHA for 3b2fe39
1 file changed
include/bitcoin/database/impl/primitives/hashhead.ipp
@@ -134,7 +134,7 @@ inline Link CLASS::top(const Link& index) const NOEXCEPT
134
// Reads full padded word.
135
// xcode clang++16 does not support C++20 std::atomic_ref.
136
////const std::atomic_ref<integer> head(unsafe_byte_cast<integer>(raw));
137
- const auto& head =* pointer_cast<std::atomic<integer>>(raw);
+ const auto& head = *pointer_cast<std::atomic<integer>>(raw);
138
return head.load(std::memory_order_acquire);
139
}
140
else
0 commit comments