From: Frederic Suter Date: Fri, 12 Jan 2018 08:19:35 +0000 (+0100) Subject: please Sonar X-Git-Tag: v3.19~351 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2245a797b2b91671a3372ad501317b0550fed645 please Sonar --- diff --git a/examples/s4u/dht-kademlia/message.hpp b/examples/s4u/dht-kademlia/message.hpp index 910be6aafa..fc5b79f6a8 100644 --- a/examples/s4u/dht-kademlia/message.hpp +++ b/examples/s4u/dht-kademlia/message.hpp @@ -6,11 +6,10 @@ #ifndef _KADEMLIA_TASK_HPP_ #define _KADEMLIA_TASK_HPP_ -#include "answer.hpp" +#include "s4u-dht-kademlia.hpp" #include "simgrid/s4u.hpp" namespace kademlia { -class Answer; class Message { public: diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp index a959c5cb89..986744b8a4 100644 --- a/include/simgrid/s4u/Host.hpp +++ b/include/simgrid/s4u/Host.hpp @@ -51,7 +51,7 @@ private: bool currentlyDestroying_ = false; public: - void destroy(); + virtual void destroy(); // No copy/move Host(Host const&) = delete; Host& operator=(Host const&) = delete;