X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ae701792ae00d4b822b890780619878e0a624980..1803cebbea302971155017c36b1cc889a5d725eb:/src/mc/mc_unw.h diff --git a/src/mc/mc_unw.h b/src/mc/mc_unw.h index 945fb4f657..2200b5f91d 100644 --- a/src/mc/mc_unw.h +++ b/src/mc/mc_unw.h @@ -25,13 +25,10 @@ * much here. */ -#include - -#include +#include "src/mc/mc_forward.hpp" #include - -#include "src/mc/mc_forward.hpp" +#include namespace simgrid { namespace unw { @@ -47,10 +44,11 @@ namespace mc { class UnwindContext { simgrid::mc::AddressSpace* addressSpace_ = nullptr; - simgrid::mc::Process* process_ = nullptr; - unw_context_t unwindContext_; + simgrid::mc::Process* process_ = nullptr; + unw_context_t unwindContext_; + public: - UnwindContext() {} + UnwindContext() = default; ~UnwindContext() { clear(); } void initialize(simgrid::mc::Process* process, unw_context_t* c); void clear();