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
fix some newly introduced smells
[simgrid.git]
/
examples
/
s4u
/
dht-chord
/
node.cpp
diff --git
a/examples/s4u/dht-chord/node.cpp
b/examples/s4u/dht-chord/node.cpp
index
d820693
..
f9ed22a
100644
(file)
--- a/
examples/s4u/dht-chord/node.cpp
+++ b/
examples/s4u/dht-chord/node.cpp
@@
-58,7
+58,7
@@
Node::Node(std::vector<std::string> args)
if (args.size() == 3) { // first ring
deadline_ = std::stod(args[2]);
if (args.size() == 3) { // first ring
deadline_ = std::stod(args[2]);
- start_time_ = simgrid::s4u::Engine::
instance()->
getClock();
+ start_time_ = simgrid::s4u::Engine::getClock();
XBT_DEBUG("Create a new Chord ring...");
} else {
known_id_ = std::stoi(args[2]);
XBT_DEBUG("Create a new Chord ring...");
} else {
known_id_ = std::stoi(args[2]);