diff options
author | Chris Robinson <[email protected]> | 2022-02-22 21:23:53 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-22 21:23:53 -0800 |
commit | 234e55cc3c121bfff28856c452b9540fcf51fce2 (patch) | |
tree | 7385b15b78aa35799b732e203f89d9413231b9a1 /core/ambdec.cpp | |
parent | d22699d9bd098a2800b8434a22d9e59209065de2 (diff) |
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.
Diffstat (limited to 'core/ambdec.cpp')
-rw-r--r-- | core/ambdec.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<std::string> load_ambdec_matrix(float (&gains)[MaxAmbiOrder+1], } // namespace +AmbDecConf::~AmbDecConf() = default; + + al::optional<std::string> AmbDecConf::load(const char *fname) noexcept { al::ifstream f{fname}; |