X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/339868721e559321451cb88acb1dac2722070b4c..47fd440ad6382d295645c81ca4c5c09bd5d51cc6:/src/mc/mc_snapshot.h?ds=sidebyside diff --git a/src/mc/mc_snapshot.h b/src/mc/mc_snapshot.h index 85683f7120..e725c1d246 100644 --- a/src/mc/mc_snapshot.h +++ b/src/mc/mc_snapshot.h @@ -121,11 +121,11 @@ typedef struct s_local_variable{ typedef struct s_mc_snapshot_stack{ std::vector local_variables; mc_unw_context_t context; - xbt_dynar_t stack_frames; // mc_stack_frame_t + std::vector stack_frames; int process_index; s_mc_snapshot_stack() - : context(nullptr), stack_frames(nullptr), process_index(0) + : context(nullptr), process_index(0) {} ~s_mc_snapshot_stack(); s_mc_snapshot_stack(s_mc_snapshot_stack& p) = delete; @@ -140,8 +140,6 @@ typedef struct s_mc_snapshot_stack{ this->local_variables = std::move(that.local_variables); this->context = std::move(that.context); that.context = nullptr; - this->stack_frames = std::move(that.stack_frames); - that.stack_frames = nullptr; this->process_index = that.process_index; that.process_index = 0; return *this;