From 395c8741790446d1b94593cb67cba383c357fe78 Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Fri, 2 Feb 2024 13:17:32 +0100 Subject: [PATCH] Fix #34 --- include/console.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/console.hpp b/include/console.hpp index 564db96..e85d6a3 100644 --- a/include/console.hpp +++ b/include/console.hpp @@ -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 {