diff options
author | Chris Robinson <[email protected]> | 2022-12-17 23:11:21 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-17 23:11:21 -0800 |
commit | ee3ba83d6d0e92e14647366d49d1fa238c5a9d5f (patch) | |
tree | d069cb1953f6d660c98eeed36690e1b7c841e27f /core/hrtf.cpp | |
parent | 25796a09c8ae5f7cd5109c1f4266bd9017df4e5e (diff) |
Avoid inlining LoadedHrtf's destructor
Diffstat (limited to 'core/hrtf.cpp')
-rw-r--r-- | core/hrtf.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/hrtf.cpp b/core/hrtf.cpp index 9d0f83ba..310b7a80 100644 --- a/core/hrtf.cpp +++ b/core/hrtf.cpp @@ -56,7 +56,14 @@ struct LoadedHrtf { LoadedHrtf(T&& name, U&& entry) : mFilename{std::forward<T>(name)}, mEntry{std::forward<U>(entry)} { } + LoadedHrtf(LoadedHrtf&&) = default; + /* GCC warns when it tries to inline this. */ + ~LoadedHrtf(); + + LoadedHrtf& operator=(LoadedHrtf&&) = default; }; +LoadedHrtf::~LoadedHrtf() = default; + /* Data set limits must be the same as or more flexible than those defined in * the makemhr utility. |