]> AND Public Git Repository - simgrid.git/blobdiff - examples/s4u/dht-kademlia/answer.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simplification.
[simgrid.git] / examples / s4u / dht-kademlia / answer.cpp
index 0d270de84440ba5b634fbf944819530bc52197b2..0afc935e8437860e881a2f622429ebf8acc8a880 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2018. The SimGrid Team.
+/* Copyright (c) 2012-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -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");