constexpr_array: fix compile error in constexpr_array shim

This commit is contained in:
Ferdinand Bachmann
2021-03-10 13:55:23 +01:00
parent 5a6309dc28
commit d9314150c2

View File

@ -5,7 +5,7 @@
#if defined( __cpp_lib_array_constexpr) && __cpp_lib_array_constexpr >= 201606L
template <typename T, size_t N>
using constexpr_array = array;
using constexpr_array = std::array<T, N>;
#else
template <typename T, size_t N>
struct constexpr_array {