File tree Expand file tree Collapse file tree
include/bitcoin/database/primitives Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ class arrayhead
7171 bool push (const Link& link, const Link& index) NOEXCEPT;
7272
7373private:
74- static_assert (std::atomic<Link::integer>::is_always_lock_free);
75- static constexpr auto size_ = Align ? sizeof (Link::integer) : Link::size;
7674 using integer = Link::integer;
75+ static_assert (std::atomic<integer>::is_always_lock_free);
76+ static constexpr auto size_ = Align ? sizeof (integer) : Link::size;
7777
7878 // Body does not use padded link size.
7979 using body = manager<Link, system::data_array<zero>, Link::size>;
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ class hashhead
6565 inline bool push (const Link& current, bytes& next, const Link& index) NOEXCEPT;
6666
6767private:
68- static_assert (std::atomic<Link::integer>::is_always_lock_free);
69- static constexpr auto size_ = Align ? sizeof (Link::integer) : Link::size;
7068 using integer = Link::integer;
69+ static_assert (std::atomic<integer>::is_always_lock_free);
70+ static constexpr auto size_ = Align ? sizeof (integer) : Link::size;
7171
7272 template <size_t Bytes>
7373 static inline auto & to_array (memory::iterator it) NOEXCEPT
You can’t perform that action at this time.
0 commit comments