diff options
author | Chris Robinson <[email protected]> | 2023-10-22 20:05:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-10-22 20:05:00 -0700 |
commit | 6435744f7a1f7995a80309eb8b66468c0c7e732b (patch) | |
tree | 20bf07a2f45e1438b24c610a46e2851b5399ea1f | |
parent | 197691365d112e170a8478fbbdcb38fd3826e418 (diff) |
Don't inline a destructor
-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 */ |