aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorkcat <[email protected]>2019-06-27 23:29:48 -0700
committerGitHub <[email protected]>2019-06-27 23:29:48 -0700
commitc238619a8bc548779bfc4fda827a46641dff4244 (patch)
tree7e50f89a2deabb51a30cbeb0cf085401979e019e /Alc
parent2598ee6f0a1d8c81b5b023e617d72934284ac9d7 (diff)
parent9326b98e2d2c180453900b7d8b5d31a986c144f9 (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.cpp2
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[] = {