diff options
author | kcat <[email protected]> | 2019-06-27 23:29:48 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2019-06-27 23:29:48 -0700 |
commit | c238619a8bc548779bfc4fda827a46641dff4244 (patch) | |
tree | 7e50f89a2deabb51a30cbeb0cf085401979e019e /Alc | |
parent | 2598ee6f0a1d8c81b5b023e617d72934284ac9d7 (diff) | |
parent | 9326b98e2d2c180453900b7d8b5d31a986c144f9 (diff) |
Merge pull request #301 from gongminmin/FixGcc9
Fix the error "a reinterpret_cast is not a constant expression" in GCC 9
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index fde655be..2533d5b7 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -188,7 +188,7 @@ BackendInfo CaptureBackend; * Functions, enums, and errors ************************************************/ #define DECL(x) { #x, (ALCvoid*)(x) } -constexpr struct { +const struct { const ALCchar *funcName; ALCvoid *address; } alcFunctions[] = { |