Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change some struct to class.
[simgrid.git] / include / simgrid / kernel / future.hpp
index 766d425..a4db6ec 100644 (file)
@@ -207,7 +207,7 @@ public:
 template<class T>
 void bindPromise(Promise<T> promise, Future<T> future)
 {
-  struct PromiseBinder {
+  class PromiseBinder {
   public:
     PromiseBinder(Promise<T> promise) : promise_(std::move(promise)) {}
     void operator()(Future<T> future)