aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/helpers.cpp')
-rw-r--r--Alc/helpers.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Alc/helpers.cpp b/Alc/helpers.cpp
index 3efa989d..ee0bb2dc 100644
--- a/Alc/helpers.cpp
+++ b/Alc/helpers.cpp
@@ -424,6 +424,12 @@ ifstream::ifstream(const char *filename, std::ios_base::openmode mode)
clear(failbit);
}
+/* This is only here to ensure the compiler doesn't define an implicit
+ * destructor, which it tries to automatically inline and subsequently complain
+ * it can't inline without excessive code growth.
+ */
+ifstream::~ifstream() { }
+
} // namespace al
const PathNamePair &GetProcBinary()