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); }