aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-13 02:09:54 -0800
committerChris Robinson <[email protected]>2023-01-13 02:09:54 -0800
commit4bf946136967f309459ae5c9e3e0d162fc977c3e (patch)
treeb2bcb74f534ffd6c49b8258c2422faec1166feca
parentc67064b95830af40c04fe5a626c16bb5e05ed1a5 (diff)
Avoid inlining the base_exception destructor
-rw-r--r--core/except.cpp2
-rw-r--r--core/except.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/core/except.cpp b/core/except.cpp
index 5405a8fe..f3d80d59 100644
--- a/core/except.cpp
+++ b/core/except.cpp
@@ -11,6 +11,8 @@
namespace al {
+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 af7257bf..0e28e9df 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() = default;
+ virtual ~base_exception();
void setMessage(const char *msg, std::va_list args);