diff --git a/tests/span_compatibility_tests.cpp b/tests/span_compatibility_tests.cpp index cdf0bff..62793e7 100644 --- a/tests/span_compatibility_tests.cpp +++ b/tests/span_compatibility_tests.cpp @@ -42,10 +42,10 @@ static_assert(!std::is_convertible::value, "!std::is_convertible"); template -constexpr bool AsWritableBytesCompilesFor = false; +static constexpr bool AsWritableBytesCompilesFor = false; template -constexpr bool AsWritableBytesCompilesFor()))>> = +static constexpr bool AsWritableBytesCompilesFor()))>> = true; TEST(span_test, std_span_compatibilty_assertion_tests)