From 16a61050cad143b505ddbbe8fd30499b3e7000b1 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 15 Jun 2025 17:32:27 +0100 Subject: [PATCH] Fixed reversed struct greater parameters --- include/etl/functional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/functional.h b/include/etl/functional.h index 7fb3e415..9f7f811d 100644 --- a/include/etl/functional.h +++ b/include/etl/functional.h @@ -237,7 +237,7 @@ namespace etl template constexpr auto operator()(T1&& lhs, T2&& rhs) const -> decltype(static_cast(lhs) < static_cast(rhs)) { - return static_cast(rhs) < static_cast(lhs); + return static_cast(rhs) < static_cast(lhs); } }; #endif