diff options
author | Chris Robinson <[email protected]> | 2018-10-31 13:31:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-31 13:31:14 -0700 |
commit | de275408fac8317d1e4148b8870c3cdf98b84569 (patch) | |
tree | 4dacb95edb8bfc06f98cf38e5eb6c6642d36ea14 /OpenAL32/alBuffer.cpp | |
parent | 0e7986eaa826401b5ef80b033583eb9f24dbf813 (diff) |
Make a const array constexpr
Diffstat (limited to 'OpenAL32/alBuffer.cpp')
-rw-r--r-- | OpenAL32/alBuffer.cpp | 2 |
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 }, |