X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/04b2e93870ff29c4e46ecd9e41451bfd911e60fe..329535631662ebf730c23f762762d38bf16663c3:/examples/s4u/dht-kademlia/node.hpp diff --git a/examples/s4u/dht-kademlia/node.hpp b/examples/s4u/dht-kademlia/node.hpp index 400461525e..a9f5bf9eaf 100644 --- a/examples/s4u/dht-kademlia/node.hpp +++ b/examples/s4u/dht-kademlia/node.hpp @@ -28,12 +28,12 @@ public: bool join(unsigned int known_id); void sendFindNode(unsigned int id, unsigned int destination); - unsigned int sendFindNodeToBest(Answer* node_list); + unsigned int sendFindNodeToBest(const Answer* node_list); void routingTableUpdate(unsigned int id); Answer* findClosest(unsigned int destination_id); bool findNode(unsigned int id_to_find, bool count_in_stats); void randomLookup(); - void handleFindNode(Message* msg); + void handleFindNode(const Message* msg); }; } // identifier functions