Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Field SwappedContext::stack_ became private, use get_stack().
[simgrid.git] / src / kernel / context / ContextBoost.cpp
index 56208f7..3fb9768 100644 (file)
@@ -55,7 +55,7 @@ BoostContext::BoostContext(std::function<void()> code, void_pfn_smxprocess_t cle
 BoostContext::~BoostContext()
 {
 #if BOOST_VERSION < 105600
-  if (not this->stack_)
+  if (not get_stack())
     delete this->fc_;
 #endif
 }