Skip to content

Commit

Permalink
Fix algorithm.h (#895)
Browse files Browse the repository at this point in the history
Fix compilation errors introduced by f9867c2
  • Loading branch information
labodj authored May 24, 2024
1 parent e11548f commit 50ff4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/etl/algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ namespace etl

TIterator next = middle;
TIterator result = first;
std::advance(result, std::distance(middle, last));
ETL_OR_STD::advance(result, ETL_OR_STD::distance(middle, last));

while (first != next)
{
Expand Down

0 comments on commit 50ff4f6

Please sign in to comment.