X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e05a1337ff6756490bf19378bcaf875b002b9b82..a07cd49f9305465488d9703ac069c7ee236ba3ee:/include/xbt/functional.hpp diff --git a/include/xbt/functional.hpp b/include/xbt/functional.hpp index a05a25499e..6f093af633 100644 --- a/include/xbt/functional.hpp +++ b/include/xbt/functional.hpp @@ -130,8 +130,8 @@ private: std::pair memberptr; char any1[sizeof(std::pair)]; char any2[sizeof(std::pair)]; - TaskUnion() {} - ~TaskUnion() {} + TaskUnion() { /* Nothing to do */} + ~TaskUnion() { /* Nothing to do */} }; #endif @@ -170,9 +170,8 @@ private: } public: - - Task() {} - Task(std::nullptr_t) {} + Task() { /* Nothing to do */} + Task(std::nullptr_t) { /* Nothing to do */} ~Task() { this->clear();