From 2d9f2d82d3f7248eed648683223c654d073dc58c Mon Sep 17 00:00:00 2001 From: evoskuil Date: Mon, 10 Jun 2024 15:46:46 -0400 Subject: [PATCH] Style. --- include/bitcoin/database/impl/primitives/iterator.ipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bitcoin/database/impl/primitives/iterator.ipp b/include/bitcoin/database/impl/primitives/iterator.ipp index c62c8d0d..7aa1af54 100644 --- a/include/bitcoin/database/impl/primitives/iterator.ipp +++ b/include/bitcoin/database/impl/primitives/iterator.ipp @@ -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(link) }; }