X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f2e9b5f5dd58b3493e5ce66014e52c76f68a777..08a29a4221dc5cec95b766cd9b25c95dcc361df9:/src/mc/mc_unw.hpp diff --git a/src/mc/mc_unw.hpp b/src/mc/mc_unw.hpp index f3c2e8d8c8..aedcf7e98d 100644 --- a/src/mc/mc_unw.hpp +++ b/src/mc/mc_unw.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2015-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -30,7 +30,6 @@ #include #include -#include namespace simgrid { namespace unw { @@ -51,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(); @@ -75,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); } }