summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/spatialaudio/qaudioroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spatialaudio/qaudioroom.cpp b/src/spatialaudio/qaudioroom.cpp
index 899152c4c..e599370d8 100644
--- a/src/spatialaudio/qaudioroom.cpp
+++ b/src/spatialaudio/qaudioroom.cpp
@@ -43,7 +43,7 @@ inline void toFloats(QQuaternion q, QSpan<float, 4> f)
// We define both occlusion and dampening constants to be able to tune the
// sound. Dampening only reduces the level of the sound without affecting its
// tone, while occlusion will dampen higher frequencies more than lower ones
-struct {
+constexpr struct {
float occlusion;
float dampening;
} occlusionAndDampening[] = {