X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6afb475701f9a542024daac748fcb5ddff7277b4..54b931da542487537ab6ec3c4c8f5a9ec06822a7:/src/kernel/context/ContextSwapped.hpp diff --git a/src/kernel/context/ContextSwapped.hpp b/src/kernel/context/ContextSwapped.hpp index 29063ec9fb..d687827cf7 100644 --- a/src/kernel/context/ContextSwapped.hpp +++ b/src/kernel/context/ContextSwapped.hpp @@ -11,20 +11,14 @@ #include -namespace simgrid { -namespace kernel { -namespace context { +namespace simgrid::kernel::context { class SwappedContext; -} // namespace context -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::context /* Use extern "C" to make sure that this symbol is easy to recognize by name, even on exotic platforms */ extern "C" XBT_ATTRIB_NORETURN void smx_ctx_wrapper(simgrid::kernel::context::SwappedContext* context); -namespace simgrid { -namespace kernel { -namespace context { +namespace simgrid::kernel::context { class SwappedContextFactory : public ContextFactory { friend SwappedContext; // Reads whether we are in parallel mode @@ -94,7 +88,5 @@ inline void SwappedContext::verify_previous_context(XBT_ATTRIB_UNUSED const Swap #endif } -} // namespace context -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::context #endif