Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Giorshev committed Jul 2, 2024
1 parent 9d7dae6 commit acaae34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ int main(int argc, char* const* argv) {
// around by sorting and uniqueness
for (int i = 0; i < (int)state.tokens.size(); ++i) {
if (std::equal(state.tokens[i].buffer.cbegin(), state.tokens[i].buffer.cend(), //
tokens_result.initial_selected_token->buffer.cbegin(), tokens_result.initial_selected_token->buffer.cend())) {
tokens_result.initial_selected_token->buffer.cbegin(), tokens_result.initial_selected_token->buffer.cend())) {
state.selection_position = i;
break;
}
Expand Down
4 changes: 2 additions & 2 deletions src/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ struct choose_output {
}
}
return std::equal(first.tokens.begin(), first.tokens.end(), second.tokens.begin(), second.tokens.end(), [](const choose::Token& lhs, const choose::Token& rhs) -> bool { //
return lhs.buffer == rhs.buffer;
});
return lhs.buffer == rhs.buffer;
});
}
}

Expand Down

0 comments on commit acaae34

Please sign in to comment.