diff --git a/include/etl/cyclic_value.h b/include/etl/cyclic_value.h index 58cf8bca..ace57efa 100644 --- a/include/etl/cyclic_value.h +++ b/include/etl/cyclic_value.h @@ -46,36 +46,6 @@ SOFTWARE. namespace etl { - namespace detail - { - //Helper: only performs the v < F check when has_lower == true –– - template - struct lower_bound_impl; - - // Specialisation for First != 0: enforce v >= First - template - struct lower_bound_impl - { - static ETL_CONSTEXPR auto apply(U& v) ETL_NOEXCEPT -> void - { - if (v < F) - { - v = F; - } - } - }; - - // Specialisation for First == 0: no-op - template - struct lower_bound_impl - { - static ETL_CONSTEXPR auto apply(U&) ETL_NOEXCEPT -> void - { - // nothing - } - }; - } // namespace detail - //*************************************************************************** /// Provides a value that cycles between two limits. //***************************************************************************