diff options
author | Chris Robinson <[email protected]> | 2022-12-16 09:48:54 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-16 10:03:39 -0800 |
commit | 84cfef8513b88068e8ef66223d09b6c48d35caad (patch) | |
tree | 1dd3c6dfd8389e22f67fe7c5e03a145d46e5e8a8 /alc/backends/base.h | |
parent | 8b806c07d716db41e0a463d455cf1a913b933a0f (diff) |
Avoid inlining certain exception functions
Diffstat (limited to 'alc/backends/base.h')
-rw-r--r-- | alc/backends/base.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/alc/backends/base.h b/alc/backends/base.h index 65bc636b..b6b3d922 100644 --- a/alc/backends/base.h +++ b/alc/backends/base.h @@ -103,13 +103,9 @@ public: #else [[gnu::format(printf, 3, 4)]] #endif - backend_exception(backend_error code, const char *msg, ...) : mErrorCode{code} - { - std::va_list args; - va_start(args, msg); - setMessage(msg, args); - va_end(args); - } + backend_exception(backend_error code, const char *msg, ...); + ~backend_exception() override; + backend_error errorCode() const noexcept { return mErrorCode; } }; |