From 6435744f7a1f7995a80309eb8b66468c0c7e732b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 22 Oct 2023 20:05:00 -0700 Subject: Don't inline a destructor --- al/debug.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'al/debug.cpp') 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"); -- cgit v1.2.3