From 67a7f7eaef6481d9f929bef24839b05dfbbd7b5a Mon Sep 17 00:00:00 2001 From: "Jordan Maples [MSFT]" <49793787+JordanMaples@users.noreply.github.com> Date: Fri, 14 Feb 2020 15:44:58 -0800 Subject: [PATCH] errors in appveyor are indicating that AsWritableByesCompilersFor needs to be static. --- tests/span_compatibility_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)