diff options
author | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2020-02-15 02:44:58 +0300 |
---|---|---|
committer | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2020-02-15 02:44:58 +0300 |
commit | 67a7f7eaef6481d9f929bef24839b05dfbbd7b5a (patch) | |
tree | 60a23b722f4616da230c2390ca3abdf0d6f2209b /tests | |
parent | 41ae38f197a8b1565352a156bc0e5fa9772cec25 (diff) |
errors in appveyor are indicating that AsWritableByesCompilersFor needs to be static.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/span_compatibility_tests.cpp | 4 |
1 files 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<Derived (*)[], Base (*)[]>::value, "!std::is_convertible<Derived(*)[], Base(*)[]>"); template <typename U, typename = void> -constexpr bool AsWritableBytesCompilesFor = false; +static constexpr bool AsWritableBytesCompilesFor = false; template <typename U> -constexpr bool AsWritableBytesCompilesFor<U, void_t<decltype(as_writable_bytes(declval<U>()))>> = +static constexpr bool AsWritableBytesCompilesFor<U, void_t<decltype(as_writable_bytes(declval<U>()))>> = true; TEST(span_test, std_span_compatibilty_assertion_tests) |