From a36324d7a062b5380655f21586f45a6183bb9a69 Mon Sep 17 00:00:00 2001 From: Sylvain Joube Date: Wed, 2 Oct 2024 16:08:10 +0200 Subject: [PATCH] Update for_until return value --- include/kwk/detail/algorithm/for_until.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kwk/detail/algorithm/for_until.hpp b/include/kwk/detail/algorithm/for_until.hpp index 01238464..440b6d4d 100644 --- a/include/kwk/detail/algorithm/for_until.hpp +++ b/include/kwk/detail/algorithm/for_until.hpp @@ -32,7 +32,7 @@ namespace kwk , [&](auto... is) { found = f(is...); } ); loops(); - return f; + return found; } } } \ No newline at end of file