diff options
-rw-r--r-- | al/debug.cpp | 5 | ||||
-rw-r--r-- | al/debug.h | 1 |
2 files changed, 6 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"); @@ -63,6 +63,7 @@ struct DebugGroup { { } DebugGroup(const DebugGroup&) = default; DebugGroup(DebugGroup&&) = default; + ~DebugGroup(); }; #endif /* AL_DEBUG_H */ |