aboutsummaryrefslogtreecommitdiffstats
path: root/al/debug.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-10-22 20:05:00 -0700
committerChris Robinson <[email protected]>2023-10-22 20:05:00 -0700
commit6435744f7a1f7995a80309eb8b66468c0c7e732b (patch)
tree20bf07a2f45e1438b24c610a46e2851b5399ea1f /al/debug.cpp
parent197691365d112e170a8478fbbdcb38fd3826e418 (diff)
Don't inline a destructor
Diffstat (limited to 'al/debug.cpp')
-rw-r--r--al/debug.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/al/debug.cpp b/al/debug.cpp
index f5914767..b76ec9af 100644
--- a/al/debug.cpp
+++ b/al/debug.cpp
@@ -27,6 +27,11 @@
#include "source.h"
+/* Declared here to prevent compilers from thinking it should be inlined, which
+ * GCC warns about increasing code size.
+ */
+DebugGroup::~DebugGroup() = default;
+
namespace {
static_assert(DebugSeverityBase+DebugSeverityCount <= 32, "Too many debug bits");