Fix the error "a reinterpret_cast is not a constant expression" on GCC 9

This commit is contained in:
Minmin Gong
2019-06-27 22:29:42 -07:00
parent 2598ee6f0a
commit 9326b98e2d
+1 -1
View File
@@ -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[] = {