Skip to content

Commit

Permalink
make use of bool operator
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed May 30, 2024
1 parent dfdc974 commit e99450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyvi/include/keyvi/dictionary/dictionary.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class Dictionary final {
iterators.pop();

auto func = [iterators = std::move(iterators), current_it]() mutable {
while (iterators.size() && *current_it == nullptr) {
while (iterators.size() && *current_it) {
current_it = iterators.front();
iterators.pop();
}
Expand Down

0 comments on commit e99450c

Please sign in to comment.