From ae8e3dfba8749aa0ebcbbaf2bf7e2b1021052191 Mon Sep 17 00:00:00 2001 From: klaus triendl Date: Fri, 24 Nov 2023 22:29:20 +0200 Subject: [PATCH] Corrected unit tests --- tests/static_tests/function_static_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/static_tests/function_static_tests.cpp b/tests/static_tests/function_static_tests.cpp index 5fd646434..ee7c387c7 100644 --- a/tests/static_tests/function_static_tests.cpp +++ b/tests/static_tests/function_static_tests.cpp @@ -259,8 +259,8 @@ TEST_CASE("function static") { STATIC_REQUIRE(std::is_same>::value); STATIC_REQUIRE(std::is_same>::value); - STATIC_REQUIRE(std::is_same_v::callable_type, SFunction>); - STATIC_REQUIRE(std::is_same_v::udf_type, SFunction>); + STATIC_REQUIRE(std::is_same::callable_type, SFunction>::value); + STATIC_REQUIRE(std::is_same::udf_type, SFunction>::value); #ifdef SQLITE_ORM_WITH_CPP20_ALIASES STATIC_REQUIRE(orm_scalar_function);