Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use C++11 constructs to please sonar
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 21 Aug 2016 15:25:58 +0000 (17:25 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 21 Aug 2016 15:25:58 +0000 (17:25 +0200)
include/xbt/future.hpp

index a374bec..4972da2 100644 (file)
@@ -33,7 +33,7 @@ class Result {
     exception,
   };
 public:
-  Result() {}
+  Result() = default;
   ~Result() { this->reset(); }
 
   // Copy (if T is copyable) and move: