Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UNEXENU committed Nov 20, 2024
1 parent 585a48f commit 38b7ac6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/engine/LocalVocab.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,8 @@ class LocalVocab {
return vocab.localBlankNodeManager_;
});

auto it = std::ranges::find_if(
localManagersView,
[](const std::shared_ptr<const LocalBlankNodeManager>& l) {
return l != nullptr;
});
auto it = std::ranges::find_if(localManagersView,
[](const auto& l) { return l != nullptr; });
if (it == localManagersView.end()) {
return;
}
Expand Down

0 comments on commit 38b7ac6

Please sign in to comment.