From 368116957067e4a3afed821edb8a2cd5435ea7a5 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 2 Jun 2019 21:11:46 +0200 Subject: [PATCH] =?utf8?q?Avoid=20a=20>>unused=20parameter=20=E2=80=98host?= =?utf8?q?=E2=80=99<<=20error=20on=20user=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- include/simgrid/s4u/Exec.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/simgrid/s4u/Exec.hpp b/include/simgrid/s4u/Exec.hpp index 90a2e57d5f..6515064b1b 100644 --- a/include/simgrid/s4u/Exec.hpp +++ b/include/simgrid/s4u/Exec.hpp @@ -97,7 +97,7 @@ class XBT_PUBLIC ExecPar : public Exec { std::vector bytes_amounts_; explicit ExecPar(const std::vector& hosts, const std::vector& flops_amounts, const std::vector& bytes_amounts); - ExecPtr set_host(Host* host) override { THROW_UNIMPLEMENTED; } + ExecPtr set_host(Host*) override { /* parallel exec cannot be moved */ THROW_UNIMPLEMENTED; } public: ~ExecPar() = default; -- 2.20.1