Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jun 10, 2024
1 parent 80d5874 commit 2d9f2d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/bitcoin/database/impl/primitives/iterator.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ TEMPLATE
INLINE Link CLASS::get_next() const NOEXCEPT
{
if (link_.is_terminal() || !memory_)
return Link::terminal;
return {};

const auto link = memory_->offset(link_to_position(link_));
if (is_null(link))
return Link::terminal;
return {};

return { system::unsafe_array_cast<uint8_t, Link::size>(link) };
}
Expand Down

0 comments on commit 2d9f2d8

Please sign in to comment.