diff --git a/test/array.cpp b/test/array.cpp index b3ec86c..b7de293 100644 --- a/test/array.cpp +++ b/test/array.cpp @@ -362,17 +362,17 @@ CAMP_TEST_BEGIN(array, to_array) CAMP_TEST_BEGIN(array, tuple_size) { - constexpr std::size_t size = std::tuple_size>::value; - constexpr std::size_t size_v = std::tuple_size_v>; + constexpr std::size_t size7 = std::tuple_size>::value; + constexpr std::size_t size11 = std::tuple_size>::value; - return size == 7 && - size_v == 11; + return size7 == 7 && + size11 == 11; } CAMP_TEST_END(array, tuple_size) CAMP_TEST_BEGIN(array, tuple_element) { - constexpr bool element0 = std::is_same_v>>; - constexpr bool element4 = std::is_same_v>>; + constexpr bool element0 = std::is_same>>::value; + constexpr bool element4 = std::is_same>>::value; return element0 && element4;