Fix the error "a reinterpret_cast is not a constant expression" on GCC 9
This commit is contained in:
+1
-1
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user