From 4f596d16cc6a25775438a16b2cdf8367b8342368 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 25 Sep 2023 11:57:18 -0700 Subject: Use std::array instead of a C-style array --- common/alcomplex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/alcomplex.cpp') diff --git a/common/alcomplex.cpp b/common/alcomplex.cpp index dad62d0a..5adb324a 100644 --- a/common/alcomplex.cpp +++ b/common/alcomplex.cpp @@ -4,6 +4,7 @@ #include "alcomplex.h" #include +#include #include #include #include @@ -34,7 +35,7 @@ template struct BitReverser { static_assert(N <= sizeof(ushort)*8, "Too many bits for the bit-reversal table."); - ushort2 mData[BitReverseCounter(N)]{}; + std::array mData{}; constexpr BitReverser() { -- cgit v1.2.3