From: Martin Quinson Date: Sun, 21 Aug 2016 15:25:58 +0000 (+0200) Subject: use C++11 constructs to please sonar X-Git-Tag: v3_14~512 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8f561fbf18e6995590fab6bc65e662e6797ff3fa use C++11 constructs to please sonar --- diff --git a/include/xbt/future.hpp b/include/xbt/future.hpp index a374bec117..4972da25a6 100644 --- a/include/xbt/future.hpp +++ b/include/xbt/future.hpp @@ -33,7 +33,7 @@ class Result { exception, }; public: - Result() {} + Result() = default; ~Result() { this->reset(); } // Copy (if T is copyable) and move: