Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please Sonar
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 12 Jan 2018 08:19:35 +0000 (09:19 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 12 Jan 2018 08:19:35 +0000 (09:19 +0100)
examples/s4u/dht-kademlia/message.hpp
include/simgrid/s4u/Host.hpp

index 910be6a..fc5b79f 100644 (file)
@@ -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:
index a959c5c..986744b 100644 (file)
@@ -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;