aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-12-16 09:48:54 -0800
committerChris Robinson <[email protected]>2022-12-16 10:03:39 -0800
commit84cfef8513b88068e8ef66223d09b6c48d35caad (patch)
tree1dd3c6dfd8389e22f67fe7c5e03a145d46e5e8a8 /core
parent8b806c07d716db41e0a463d455cf1a913b933a0f (diff)
Avoid inlining certain exception functions
Diffstat (limited to 'core')
-rw-r--r--core/except.cpp3
-rw-r--r--core/except.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/core/except.cpp b/core/except.cpp
index a77c7730..5405a8fe 100644
--- a/core/except.cpp
+++ b/core/except.cpp
@@ -11,9 +11,6 @@
namespace al {
-/* Defined here to avoid inlining it. */
-base_exception::~base_exception() = default;
-
void base_exception::setMessage(const char* msg, std::va_list args)
{
std::va_list args2;
diff --git a/core/except.h b/core/except.h
index 0e28e9df..af7257bf 100644
--- a/core/except.h
+++ b/core/except.h
@@ -14,7 +14,7 @@ class base_exception : public std::exception {
protected:
base_exception() = default;
- virtual ~base_exception();
+ virtual ~base_exception() = default;
void setMessage(const char *msg, std::va_list args);