From acaae347e07a1edbcfa1044cf86abebeb696bb3f Mon Sep 17 00:00:00 2001 From: John Giorshev Date: Mon, 1 Jul 2024 23:41:52 -0400 Subject: [PATCH] . --- src/main.cpp | 2 +- src/test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index a464c38..c384d71 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; } diff --git a/src/test.cpp b/src/test.cpp index d9a51e3..f85550c 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -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; + }); } }