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
[DVFS] Add several new member vars for new features
[simgrid.git]
/
include
/
xbt
/
string.hpp
diff --git
a/include/xbt/string.hpp
b/include/xbt/string.hpp
index 1916178d895e504d81a4c7117b991785ed495425..0cc1c4899acaed65078974ab244be57feb94465b 100644
(file)
--- a/
include/xbt/string.hpp
+++ b/
include/xbt/string.hpp
@@
-89,7
+89,7
@@
public:
}
}
string() : string(&NUL, 0) {}
- string(const char* s) : string(s, strlen(s)) {}
+
explicit
string(const char* s) : string(s, strlen(s)) {}
string(string const& s) : string(s.c_str(), s.size()) {}
string(string&& s)
{