aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bsinc_tables.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-10-19 08:24:19 -0700
committerChris Robinson <[email protected]>2020-10-19 08:24:19 -0700
commita3903b84f994ad9eed594eefdf04e591dbc09e7b (patch)
tree57d47a584467c465d7d0ebe2a893f3f5b540ef08 /alc/bsinc_tables.cpp
parentada92b058a6bde647af6f445131729900490142a (diff)
Revert "Workaround a GCC 5 issue"
This reverts commit ada92b058a6bde647af6f445131729900490142a. It didn't fix the problem.
Diffstat (limited to 'alc/bsinc_tables.cpp')
-rw-r--r--alc/bsinc_tables.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/alc/bsinc_tables.cpp b/alc/bsinc_tables.cpp
index 92f4657c..6052e1b1 100644
--- a/alc/bsinc_tables.cpp
+++ b/alc/bsinc_tables.cpp
@@ -101,12 +101,6 @@ constexpr double CalcKaiserBeta(const double rejection)
return 0.0;
}
-/* NOTE: GCC 5 has an issue with BSincHeader objects being in an anonymous
- * namespace while also being used as non-type template parameters.
- */
-#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 6
-} // namespace
-#endif
struct BSincHeader {
double width{};
@@ -146,9 +140,6 @@ struct BSincHeader {
constexpr BSincHeader bsinc12_hdr{60, 11};
constexpr BSincHeader bsinc24_hdr{60, 23};
-#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 6
-namespace {
-#endif
/* FIXME: This should be constexpr, but the temporary filter arrays are too
* big. This requires using heap space, which is not allowed in a constexpr