A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
please sonar
[simgrid.git]
/
examples
/
s4u
/
dht-kademlia
/
answer.cpp
diff --git
a/examples/s4u/dht-kademlia/answer.cpp
b/examples/s4u/dht-kademlia/answer.cpp
index
7fa8655
..
6d5515c
100644
(file)
--- a/
examples/s4u/dht-kademlia/answer.cpp
+++ b/
examples/s4u/dht-kademlia/answer.cpp
@@
-65,9
+65,9
@@
void Answer::addBucket(const Bucket* bucket)
{
xbt_assert((bucket != nullptr), "Provided a NULL bucket");
- for (auto const& id : bucket->nodes) {
+ for (auto const& id : bucket->nodes
_
) {
unsigned int distance = id ^ destination_id_;
nodes_.push_back(std::pair<unsigned int, unsigned int>(id, distance));
}
}
-}
+}
// namespace kademlia