From 8b5d2ead52dc6483794d88f374d014a3dc77cea2 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 5 Feb 2024 19:45:08 +0100 Subject: [PATCH] fix: si_test compilation fixed --- test/static/si_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/static/si_test.cpp b/test/static/si_test.cpp index 8ce65935..0599469b 100644 --- a/test/static/si_test.cpp +++ b/test/static/si_test.cpp @@ -61,8 +61,9 @@ static_assert(1 * Rm == 1'000'000'000'000'000'000 * Gm); static_assert(1 * Qm == 1'000'000'000'000'000'000 * Tm); // check for invalid prefixes -template typename prefix, auto V1> -concept can_not_be_prefixed = Unit> && !requires { typename prefix; }; +template typename prefix, auto V1> +concept can_not_be_prefixed = + Unit> && !requires { typename prefix>; }; static_assert(can_not_be_prefixed); static_assert(can_not_be_prefixed);