Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix build ?
authorAugustin Degomme <augustin.degomme@unibas.ch>
Sat, 31 Mar 2018 17:30:30 +0000 (19:30 +0200)
committerAugustin Degomme <augustin.degomme@unibas.ch>
Sat, 31 Mar 2018 17:30:30 +0000 (19:30 +0200)
include/xbt/config.hpp

index 1ce01c3..b319d07 100644 (file)
@@ -173,7 +173,7 @@ bindFlag(T& value, const char* name, const char* description,
     std::function<void(const T&)>([&value, callback](const T& val) {
       if (not callback(val))
         throw std::range_error("invalid value");
     std::function<void(const T&)>([&value, callback](const T& val) {
       if (not callback(val))
         throw std::range_error("invalid value");
-        value = std::move(val);
+      value = std::move(val);
     })
   );
 }
     })
   );
 }