From 2b2b97552c4497457b6a2a537a41c6d646116e60 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 28 May 2026 10:18:22 +0200 Subject: [PATCH] Adjust operator!=() in fixed_iterator.h Instead of taking an iterator by reference, take it by value as done in the other operators and overloads. --- include/etl/fixed_iterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/fixed_iterator.h b/include/etl/fixed_iterator.h index 3f537815..f0ab7609 100644 --- a/include/etl/fixed_iterator.h +++ b/include/etl/fixed_iterator.h @@ -263,7 +263,7 @@ namespace etl /// Inequality operator. iterator == fixed_iterator. //***************************************************************************** template - ETL_CONSTEXPR bool operator!=(TIterator& lhs, const etl::fixed_iterator& rhs) + ETL_CONSTEXPR bool operator!=(TIterator lhs, const etl::fixed_iterator& rhs) { return !(lhs == rhs); }