From a78147084499c42721167ef5823ea68d9b198b1e Mon Sep 17 00:00:00 2001 From: ScriptExec Date: Sun, 14 Jul 2024 00:53:29 +0200 Subject: [PATCH] Changed constexpr check in test.cpp --- test/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.cpp b/test/test.cpp index 439dfe0..96367fb 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -35,7 +35,7 @@ #endif #endif -#if defined(utf8_cplusplus) && utf8_cplusplus >= 201402L +#if defined(utf8_cplusplus) && utf8_cplusplus >= 201402L && (!defined(_MSC_VER) || (defined(_MSC_VER) && _MSC_VER >= 1910)) constexpr void test() { constexpr utf8_int8_t in_str[20]{}; constexpr utf8_int32_t in_chr{};