From 64aee1dc1c30d49f8c0ddf7e11317079deca25c0 Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Wed, 6 Mar 2019 00:11:18 +0100 Subject: [PATCH] please clang --- include/simgrid/s4u/Exec.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/simgrid/s4u/Exec.hpp b/include/simgrid/s4u/Exec.hpp index 93651fa798..c7a4187c91 100644 --- a/include/simgrid/s4u/Exec.hpp +++ b/include/simgrid/s4u/Exec.hpp @@ -46,10 +46,10 @@ public: static xbt::signal on_start; static xbt::signal on_completion; - virtual double get_remaining() = 0; - virtual double get_remaining_ratio() = 0; - virtual Exec* start() = 0; - virtual ExecPtr set_host(Host* host) = 0; + virtual double get_remaining() override = 0; + virtual Exec* start() override = 0; + virtual double get_remaining_ratio() = 0; + virtual ExecPtr set_host(Host* host) = 0; Exec* wait() override; Exec* wait_for(double timeout) override; @@ -82,7 +82,7 @@ public: Exec* start() override; - ExecPtr set_host(Host* host); + ExecPtr set_host(Host* host) override; Host* get_host(); double get_remaining() override; @@ -105,7 +105,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) { return this; } + ExecPtr set_host(Host* host) override { return this; } public: ~ExecPar() = default; -- 2.20.1