aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-19 15:47:33 -0700
committerChris Robinson <[email protected]>2022-07-19 15:48:40 -0700
commit10eca3e7c30dc3cac6c6eee343647728d7c7e6a6 (patch)
tree644b1a56ef908e9cb91b02e932f17ed45e9ca4c2
parent650a6d49e9a511d005171940761f6dd6b440ee66 (diff)
Silence an inline failure warning with GCC
-rw-r--r--core/hrtf.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/hrtf.cpp b/core/hrtf.cpp
index 1903898e..38c68cfa 100644
--- a/core/hrtf.cpp
+++ b/core/hrtf.cpp
@@ -42,7 +42,11 @@ namespace {
struct HrtfEntry {
std::string mDispName;
std::string mFilename;
+
+ /* GCC warns when it tries to inline this. */
+ ~HrtfEntry();
};
+HrtfEntry::~HrtfEntry() = default;
struct LoadedHrtf {
std::string mFilename;