aboutsummaryrefslogtreecommitdiffstats
path: root/common/alcomplex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/alcomplex.cpp')
-rw-r--r--common/alcomplex.cpp3
1 files changed, 2 insertions, 1 deletions
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 <algorithm>
+#include <array>
#include <cassert>
#include <cmath>
#include <cstddef>
@@ -34,7 +35,7 @@ template<size_t N>
struct BitReverser {
static_assert(N <= sizeof(ushort)*8, "Too many bits for the bit-reversal table.");
- ushort2 mData[BitReverseCounter(N)]{};
+ std::array<ushort2,BitReverseCounter(N)> mData{};
constexpr BitReverser()
{