From 8f561fbf18e6995590fab6bc65e662e6797ff3fa Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 21 Aug 2016 17:25:58 +0200 Subject: [PATCH] use C++11 constructs to please sonar --- include/xbt/future.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.20.1