X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/05c280c2e4f419cbeeb3d3d6456d991a70f1edcc..2558c8c0eb206ff353cb88672f5a90cd0e2562d3:/src/mc/mc_unw.hpp diff --git a/src/mc/mc_unw.hpp b/src/mc/mc_unw.hpp index 466b3dfe04..aedcf7e98d 100644 --- a/src/mc/mc_unw.hpp +++ b/src/mc/mc_unw.hpp @@ -50,6 +50,7 @@ class UnwindContext { public: UnwindContext() = default; UnwindContext(const UnwindContext&) = default; + UnwindContext& operator=(const UnwindContext&) = default; ~UnwindContext() { clear(); } void initialize(simgrid::mc::RemoteClient* process, unw_context_t* c); void clear(); @@ -74,7 +75,7 @@ public: static unw_addr_space_t createUnwindAddressSpace(); }; -void dumpStack(FILE* file, unw_cursor_t cursor); +void dumpStack(FILE* file, unw_cursor_t&& cursor); void dumpStack(FILE* file, pid_t pid); } }