aboutsummaryrefslogtreecommitdiffstats
path: root/al/error.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2022-02-23 01:29:28 -0800
committerChris Robinson <chris.kcat@gmail.com>2022-02-23 01:29:28 -0800
commitcadf0d1de5ca5a845b0e6fdb3aaaff7c8c741f9e (patch)
tree1c621fdecb8ea86033229e19f85d1a786dada4d4 /al/error.cpp
parent7176247529e5e115fb1cd72b56145cb13ba947c6 (diff)
Make some local constexpr variables static
Diffstat (limited to 'al/error.cpp')
-rw-r--r--al/error.cpp2
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)
{