Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make factory_initializer a static member of ContextFactory.
[simgrid.git] / src / kernel / context / ContextBoost.hpp
index 02c70cc69f723b13d0ec77b7902a309761bd895d..5a877c4ee47c47422190d0b30b38d2086b97f3bb 100644 (file)
@@ -22,7 +22,6 @@
 #include <xbt/parmap.hpp>
 
 #include "src/internal_config.h"
-#include "src/kernel/context/Context.hpp"
 #include "src/kernel/context/ContextSwapped.hpp"
 
 namespace simgrid {
@@ -36,10 +35,10 @@ public:
 
 private:
 #if BOOST_VERSION < 106100
-  boost::context::fcontext_t fc_;
+  boost::context::fcontext_t fc_{};
   using arg_type = intptr_t;
 #else
-  boost::context::detail::fcontext_t fc_;
+  boost::context::detail::fcontext_t fc_{};
   using arg_type = boost::context::detail::transfer_t;
 #endif