Skip to content

Commit

Permalink
Fix #34
Browse files Browse the repository at this point in the history
  • Loading branch information
wichtounet committed Feb 2, 2024
1 parent 15712d0 commit 395c874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/console.hpp
Expand Up @@ -377,7 +377,7 @@ struct one_of_checker {
}

bool operator()(const std::string& value) const {
return std::ranges::find(values, value) != std::ranges::begin(values);
return std::ranges::find(values, value) != std::ranges::end(values);
}

std::string message() const {
Expand Down

0 comments on commit 395c874

Please sign in to comment.