]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/context/ContextBoost.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't throw an exception from destructor.
[simgrid.git] / src / kernel / context / ContextBoost.hpp
index 752844391bf0d8cc7f40403e3674025177812c73..94682e23525bb4838b7332ce4a8fe64cff0b7ec5 100644 (file)
 #include <xbt/parmap.hpp>
 
 #include "src/internal_config.h"
-#include "src/kernel/context/Context.hpp"
 #include "src/kernel/context/ContextSwapped.hpp"
 
-namespace simgrid {
-namespace kernel {
-namespace context {
+namespace simgrid::kernel::context {
 
 /** @brief Userspace context switching implementation based on Boost.Context */
 class BoostContext : public SwappedContext {
@@ -52,8 +49,6 @@ class BoostContextFactory : public SwappedContextFactory {
 public:
   BoostContext* create_context(std::function<void()>&& code, actor::ActorImpl* actor) override;
 };
-} // namespace context
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::context
 
 #endif