aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alBuffer.cpp b/OpenAL32/alBuffer.cpp
index 74f108e5..dc07e147 100644
--- a/OpenAL32/alBuffer.cpp
+++ b/OpenAL32/alBuffer.cpp
@@ -970,7 +970,7 @@ static ALboolean DecomposeUserFormat(ALenum format, enum UserFmtChannels *chans,
UserFmtChannels channels;
UserFmtType type;
};
- static const std::array<FormatMap,46> list{{
+ static constexpr std::array<FormatMap,46> list{{
{ AL_FORMAT_MONO8, UserFmtMono, UserFmtUByte },
{ AL_FORMAT_MONO16, UserFmtMono, UserFmtShort },
{ AL_FORMAT_MONO_FLOAT32, UserFmtMono, UserFmtFloat },