From 7d2e21334c5bc6423abed3b450d369829d7c1fde Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 17 Dec 2020 16:46:21 -0800 Subject: Move the AL error enum out of base_exception --- al/effect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'al/effect.cpp') diff --git a/al/effect.cpp b/al/effect.cpp index 3cfccaa3..029ecaa8 100644 --- a/al/effect.cpp +++ b/al/effect.cpp @@ -72,7 +72,7 @@ const EffectList gEffectList[16]{ bool DisabledEffects[MAX_EFFECTS]; -effect_exception::effect_exception(ALenum code, const char *msg, ...) : base_exception{code} +effect_exception::effect_exception(ALenum code, const char *msg, ...) : mErrorCode{code} { std::va_list args; va_start(args, msg); -- cgit v1.2.3