From ff62437671d1e38ec348f57f90e74c55921e1d65 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 2 Jul 2018 00:30:16 +0200 Subject: [PATCH] fix clang build --- src/s4u/s4u_Host.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/s4u/s4u_Host.cpp b/src/s4u/s4u_Host.cpp index af48c95bf2..54ecde3254 100644 --- a/src/s4u/s4u_Host.cpp +++ b/src/s4u/s4u_Host.cpp @@ -104,8 +104,7 @@ void Host::turn_on() void Host::turn_off() { if (is_on()) { - smx_actor_t self = SIMIX_process_self(); - simgrid::simix::simcall([this, self] { + simgrid::simix::simcall([this] { this->pimpl_cpu->turn_off(); this->pimpl_->turn_off(); -- 2.20.1