Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make destructors useless.
[simgrid.git] / examples / s4u / dht-kademlia / answer.cpp
index 4c53034..0afc935 100644 (file)
@@ -69,7 +69,7 @@ bool Answer::destinationFound()
 /** @brief Adds the content of a bucket unsigned into a answer object.
   * @param bucket the bucket we have to had unsigned into
   */
-void Answer::addBucket(Bucket* bucket)
+void Answer::addBucket(const Bucket* bucket)
 {
   xbt_assert((bucket != nullptr), "Provided a NULL bucket");