From 4d757068c4784a18026089fd812949703bd9470a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 6 Dec 2022 01:48:58 -0800 Subject: Avoid using a macro to wrap standard attributes --- al/error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'al/error.cpp') diff --git a/al/error.cpp b/al/error.cpp index 5817e153..0340f430 100644 --- a/al/error.cpp +++ b/al/error.cpp @@ -85,7 +85,7 @@ AL_API ALenum AL_APIENTRY alGetError(void) START_API_FUNC { ContextRef context{GetContextRef()}; - if(!context) [[alunlikely]] + if(!context) [[unlikely]] { static constexpr ALenum deferror{AL_INVALID_OPERATION}; WARN("Querying error state on null context (implicitly 0x%04x)\n", deferror); -- cgit v1.2.3