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
Add explicit keyword to one-parameter constructors.
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Host.hpp
diff --git
a/include/simgrid/s4u/Host.hpp
b/include/simgrid/s4u/Host.hpp
index
9f9ef0c
..
6743001
100644
(file)
--- a/
include/simgrid/s4u/Host.hpp
+++ b/
include/simgrid/s4u/Host.hpp
@@
-114,7
+114,7
@@
public:
void execute(double flops);
private:
- simgrid::xbt::string name_
= "noname"
;
+ simgrid::xbt::string name_
{"noname"}
;
std::unordered_map<std::string, Storage*>* mounts = nullptr; // caching
public: