From ce7ce3bb72ea09c31d92bc66972305cbb76413f8 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 13 Jan 2024 11:44:40 +0000 Subject: [PATCH] Make binary functor operator() const --- include/etl/binary.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/etl/binary.h b/include/etl/binary.h index 37e6b00f..903d2bca 100644 --- a/include/etl/binary.h +++ b/include/etl/binary.h @@ -2286,7 +2286,7 @@ namespace etl //*********************************** ETL_NODISCARD ETL_CONSTEXPR - T operator ()(T value) ETL_NOEXCEPT + T operator ()(T value) const ETL_NOEXCEPT { ETL_STATIC_ASSERT(etl::is_integral::value, "Not an integral type"); @@ -2311,7 +2311,7 @@ namespace etl //*********************************** ETL_NODISCARD ETL_CONSTEXPR - T operator ()(T value) ETL_NOEXCEPT + T operator ()(T value) const ETL_NOEXCEPT { ETL_STATIC_ASSERT(etl::is_integral::value, "Not an integral type"); @@ -2340,7 +2340,7 @@ namespace etl //*********************************** ETL_NODISCARD ETL_CONSTEXPR - T operator ()(T value) ETL_NOEXCEPT + T operator ()(T value) const ETL_NOEXCEPT { ETL_STATIC_ASSERT(etl::is_integral::value, "Not an integral type"); @@ -2369,7 +2369,7 @@ namespace etl //*********************************** ETL_NODISCARD ETL_CONSTEXPR - T operator ()(T value) ETL_NOEXCEPT + T operator ()(T value) const ETL_NOEXCEPT { ETL_STATIC_ASSERT(etl::is_integral::value, "Not an integral type");