kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit f9f912278f8d9148d0bbb434e8628454eb8f297d
parent 3507426d0f5b461750358caaafbe4e46916074d5
Author: [email protected] <[email protected]>
Date:   Wed, 24 Jul 2019 10:52:37 +0000

Remove special_constant::undefined

Diffstat:
Minclude/kfr/cometa.hpp | 8--------
Minclude/kfr/io/tostring.hpp | 2--
2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/include/kfr/cometa.hpp b/include/kfr/cometa.hpp @@ -1988,7 +1988,6 @@ CMT_INTRINSIC constexpr Tout pack_elements(Arg x, Args... args) enum class special_constant { - undefined, default_constructed, infinity, neg_infinity, @@ -2018,13 +2017,6 @@ struct special_value { switch (c) { - CMT_PRAGMA_GNU(GCC diagnostic push) - CMT_PRAGMA_GNU(GCC diagnostic ignored "-Wuninitialized") - CMT_PRAGMA_GNU(GCC diagnostic ignored "-Wmaybe-uninitialized") - case special_constant::undefined: - T undef; - return undef; - CMT_PRAGMA_GNU(GCC diagnostic pop) case special_constant::default_constructed: return T{}; case special_constant::infinity: diff --git a/include/kfr/io/tostring.hpp b/include/kfr/io/tostring.hpp @@ -44,8 +44,6 @@ struct representation<cometa::special_value> using cometa::special_constant; switch (value.c) { - case special_constant::undefined: - return "undefined"; case special_constant::default_constructed: return "default_constructed"; case special_constant::infinity: