From 234e55cc3c121bfff28856c452b9540fcf51fce2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 22 Feb 2022 21:23:53 -0800 Subject: Explicitly define AmbDecConf's destructor GCC complains it can't inline the destructor because it's "unlikely" to be called and would bloat code size, despite being implicitly defined. Technically accurate, but rather annoying since it's not explicitly called or defined. --- core/ambdec.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/ambdec.cpp') diff --git a/core/ambdec.cpp b/core/ambdec.cpp index 30048051..0df22bc9 100644 --- a/core/ambdec.cpp +++ b/core/ambdec.cpp @@ -179,6 +179,9 @@ al::optional load_ambdec_matrix(float (&gains)[MaxAmbiOrder+1], } // namespace +AmbDecConf::~AmbDecConf() = default; + + al::optional AmbDecConf::load(const char *fname) noexcept { al::ifstream f{fname}; -- cgit v1.2.3