diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2022-02-23 01:29:28 -0800 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2022-02-23 01:29:28 -0800 |
commit | cadf0d1de5ca5a845b0e6fdb3aaaff7c8c741f9e (patch) | |
tree | 1c621fdecb8ea86033229e19f85d1a786dada4d4 /al/error.cpp | |
parent | 7176247529e5e115fb1cd72b56145cb13ba947c6 (diff) |
Make some local constexpr variables static
Diffstat (limited to 'al/error.cpp')
-rw-r--r-- | al/error.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/error.cpp b/al/error.cpp index 8cabf8c3..90671011 100644 --- a/al/error.cpp +++ b/al/error.cpp @@ -87,7 +87,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if(unlikely(!context)) { - constexpr ALenum deferror{AL_INVALID_OPERATION}; + static constexpr ALenum deferror{AL_INVALID_OPERATION}; WARN("Querying error state on null context (implicitly 0x%04x)\n", deferror); if(TrapALError) { |