From 50ff4f6cd89bca954eba883ac9b35dc754078cda Mon Sep 17 00:00:00 2001 From: LaboDJ <2527836+labodj@users.noreply.github.com> Date: Fri, 24 May 2024 16:29:06 +0200 Subject: [PATCH] Fix algorithm.h (#895) Fix compilation errors introduced by f9867c2281218340b0962ddce257f3c8a1eb5456 --- include/etl/algorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/algorithm.h b/include/etl/algorithm.h index fb394f8ff..95d7372b2 100644 --- a/include/etl/algorithm.h +++ b/include/etl/algorithm.h @@ -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) {