From 9326b98e2d2c180453900b7d8b5d31a986c144f9 Mon Sep 17 00:00:00 2001 From: Minmin Gong Date: Thu, 27 Jun 2019 22:29:42 -0700 Subject: Fix the error "a reinterpret_cast is not a constant expression" on GCC 9 --- Alc/alc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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[] = { -- cgit v1.2.3