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
[sonar] Declare functions "const" in examples/ and teshsuite/.
[simgrid.git]
/
examples
/
s4u
/
dht-chord
/
s4u-dht-chord-node.cpp
diff --git
a/examples/s4u/dht-chord/s4u-dht-chord-node.cpp
b/examples/s4u/dht-chord/s4u-dht-chord-node.cpp
index fe914e77cce1b3e2ad667e59acc5e0c75b8dd6bc..fbfdec60f3f9d1089e41cfd0d7aca59f6c3758b6 100644
(file)
--- a/
examples/s4u/dht-chord/s4u-dht-chord-node.cpp
+++ b/
examples/s4u/dht-chord/s4u-dht-chord-node.cpp
@@
-364,7
+364,7
@@
void Node::notify(int predecessor_candidate_id)
}
/* Notifies a remote node that its predecessor may have changed. */
}
/* Notifies a remote node that its predecessor may have changed. */
-void Node::remoteNotify(int notify_id, int predecessor_candidate_id)
+void Node::remoteNotify(int notify_id, int predecessor_candidate_id)
const
{
ChordMessage* message = new ChordMessage(NOTIFY);
message->request_id = predecessor_candidate_id;
{
ChordMessage* message = new ChordMessage(NOTIFY);
message->request_id = predecessor_candidate_id;