forked from Ferdi265/cxx-ring-buffer
constexpr_array: fix compile error in constexpr_array shim
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#if defined( __cpp_lib_array_constexpr) && __cpp_lib_array_constexpr >= 201606L
|
#if defined( __cpp_lib_array_constexpr) && __cpp_lib_array_constexpr >= 201606L
|
||||||
template <typename T, size_t N>
|
template <typename T, size_t N>
|
||||||
using constexpr_array = array;
|
using constexpr_array = std::array<T, N>;
|
||||||
#else
|
#else
|
||||||
template <typename T, size_t N>
|
template <typename T, size_t N>
|
||||||
struct constexpr_array {
|
struct constexpr_array {
|
||||||
|
Reference in New Issue
Block a user