mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-15 08:26:04 +08:00
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.
This commit is contained in:
parent
57f5184d77
commit
2b2b97552c
@ -263,7 +263,7 @@ namespace etl
|
||||
/// Inequality operator. iterator == fixed_iterator.
|
||||
//*****************************************************************************
|
||||
template <typename TIterator>
|
||||
ETL_CONSTEXPR bool operator!=(TIterator& lhs, const etl::fixed_iterator<TIterator>& rhs)
|
||||
ETL_CONSTEXPR bool operator!=(TIterator lhs, const etl::fixed_iterator<TIterator>& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user