From c1fca702eb030a3024fcbf7098567b529ac1cc94 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 28 Dec 2024 01:07:35 -0800 Subject: [PATCH] [libc] Fix non-calls to cpp::is_complex_type_same Some uses were not actually calls, just references to the name. --- libc/test/UnitTest/FPMatcher.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libc/test/UnitTest/FPMatcher.h b/libc/test/UnitTest/FPMatcher.h index 9f2bae3279208..b8e240bf328ce 100644 --- a/libc/test/UnitTest/FPMatcher.h +++ b/libc/test/UnitTest/FPMatcher.h @@ -131,11 +131,11 @@ template class CFPMatcher : public Matcher { else if constexpr (cpp::is_complex_type_same()) return matchComplex(); #ifdef LIBC_TYPES_HAS_CFLOAT16 - else if constexpr (cpp::is_complex_type_same) + else if constexpr (cpp::is_complex_type_same()) return matchComplex(); #endif #ifdef LIBC_TYPES_HAS_CFLOAT128 - else if constexpr (cpp::is_complex_type_same) + else if constexpr (cpp::is_complex_type_same()) return matchComplex(); #endif } @@ -148,11 +148,11 @@ template class CFPMatcher : public Matcher { else if constexpr (cpp::is_complex_type_same()) return explainErrorComplex(); #ifdef LIBC_TYPES_HAS_CFLOAT16 - else if constexpr (cpp::is_complex_type_same) + else if constexpr (cpp::is_complex_type_same()) return explainErrorComplex(); #endif #ifdef LIBC_TYPES_HAS_CFLOAT128 - else if constexpr (cpp::is_complex_type_same) + else if constexpr (cpp::is_complex_type_same()) return explainErrorComplex(); #endif }