From 00500f6c49040933bc106ca6f366a5fa0c40970a Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Thu, 2 Nov 2017 15:13:27 +0100 Subject: [PATCH] prevent infinite recursion with clang --- src/surf/cpu_ti.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/cpu_ti.cpp b/src/surf/cpu_ti.cpp index de1be6eb81..01496568dc 100644 --- a/src/surf/cpu_ti.cpp +++ b/src/surf/cpu_ti.cpp @@ -731,7 +731,7 @@ void CpuTiAction::setMaxDuration(double duration) XBT_IN("(%p,%g)", this, duration); - setMaxDuration(duration); + Action::setMaxDuration(duration); if (duration >= 0) min_finish = (getStartTime() + getMaxDuration()) < getFinishTime() ? -- 2.20.1