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
/
xbt
/
functional.hpp
diff --git
a/include/xbt/functional.hpp
b/include/xbt/functional.hpp
index
64c3caa
..
dde3b7e
100644
(file)
--- a/
include/xbt/functional.hpp
+++ b/
include/xbt/functional.hpp
@@
-171,7
+171,7
@@
private:
public:
Task() { /* Nothing to do */}
- Task(std::nullptr_t) { /* Nothing to do */}
+
explicit
Task(std::nullptr_t) { /* Nothing to do */}
~Task()
{
this->clear();