Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koolkdev committed Feb 14, 2024
1 parent d43e0b2 commit a707840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directory_items_iterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ bool DirectoryItemsIterator::operator!=(const DirectoryItemsIterator& rhs) const

DirectoryItemsIterator::value_type DirectoryItemsIterator::operator*() {
if (!node_state_)
return {{}, nullptr};
throw std::runtime_error("Out of bounds");
if (node_state_->block->Header()->block_flags.value() &
node_state_->block->Header()->Flags::EXTERNAL_DIRECTORY_TREE) {
auto block = node_state_->block;
Expand Down

0 comments on commit a707840

Please sign in to comment.