Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Field 'SwappedContext::factory_' becomes a reference.
[simgrid.git] / src / kernel / context / ContextSwapped.hpp
index 4c03501..00d2dba 100644 (file)
@@ -57,8 +57,8 @@ public:
 #endif
 
 private:
-  unsigned char* stack_ = nullptr;       /* the thread stack */
-  SwappedContextFactory* const factory_; // for sequential and parallel run_all()
+  unsigned char* stack_ = nullptr; // the thread stack
+  SwappedContextFactory& factory_; // for sequential and parallel run_all()
 
 #if HAVE_VALGRIND_H
   unsigned int valgrind_stack_id_;