From d975c98806f17c9e106b3c1418c34940723970a0 Mon Sep 17 00:00:00 2001 From: profezzorn Date: Mon, 30 Dec 2024 03:41:57 -0600 Subject: [PATCH] fix warning --- transitions/concat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transitions/concat.h b/transitions/concat.h index 2c4db5bbf..f88caaf0b 100644 --- a/transitions/concat.h +++ b/transitions/concat.h @@ -147,14 +147,14 @@ class TrConcat2 { } }; -template getColor(0).c.r), uint16_t>::value> +template ()->getColor(0).c.r), uint16_t>::value> constexpr bool hasGetColorHelper(int) { return result; } template constexpr bool hasGetColorHelper(...) { return false; } template constexpr bool hasGetColor() { return hasGetColorHelper(0); } -static_assert(std::is_samegetColor(0).c.r), uint16_t>::value, "getcolor has changed..."); +static_assert(std::is_same()->getColor(0).c.r), uint16_t>::value, "getcolor has changed..."); static_assert(hasGetColor(), "hasGetColor is not working"); static_assert(!hasGetColor>(), "hasGetColor is not working");