diff options
author | Chris Robinson <[email protected]> | 2022-08-26 01:33:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-08-26 01:34:04 -0700 |
commit | 35d7fca52c2ad89e9f3fcc72636d489895434a5a (patch) | |
tree | 1f37fb8974cfc32ad7ff33e2877eda4b2903d3f9 /alc | |
parent | 1a99ac48f66d6db581b77c6ac2a61a77dd9ab0a4 (diff) |
Don't mark a non-constexpr-able function as constexpr
It can't be constexpr because it needs write access to an std::array, and
because of std::sqrt.
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index 3ef9615b..0eeef026 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -573,7 +573,7 @@ struct RotatorCoeffs { }; std::array<CoeffValues,CalcRotatorSize<MaxAmbiOrder>()> mCoeffs{}; - constexpr RotatorCoeffs() + RotatorCoeffs() { auto coeffs = mCoeffs.begin(); |