diff options
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index e9405493..c349a4ba 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -947,13 +947,9 @@ constexpr int alcEFXMinorVersion{0}; /* To avoid extraneous allocations, a 0-sized FlexArray<ALCcontext*> is defined - * globally as a sharable object. MSVC warns that a zero-sized array will have - * zero objects here, so silence that. + * globally as a sharable object. */ -DIAGNOSTIC_PUSH -msc_pragma(warning(disable : 4815)) al::FlexArray<ALCcontext*> EmptyContextArray{0u}; -DIAGNOSTIC_POP using DeviceRef = al::intrusive_ptr<ALCdevice>; |