X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/93e5a76cd75513588fc110e29072803cc6784a32..34cc424dffb95939f16753a42462f10df5b96dbf:/include/xbt/backtrace.hpp diff --git a/include/xbt/backtrace.hpp b/include/xbt/backtrace.hpp index 05bf810ba4..d20fab8ecd 100644 --- a/include/xbt/backtrace.hpp +++ b/include/xbt/backtrace.hpp @@ -38,15 +38,10 @@ class BacktraceImpl; */ class Backtrace { public: - BacktraceImpl* impl_ = nullptr; + std::shared_ptr impl_; Backtrace(); - Backtrace(const Backtrace& bt); - Backtrace(Backtrace&& bt); - Backtrace& operator=(const Backtrace& rhs); - Backtrace& operator=(Backtrace&& rhs); - ~Backtrace(); /** @brief Translate the backtrace in a human friendly form, unmangled with source code locations. */ - std::string const resolve() const; + std::string resolve() const; /** @brief Display the resolved backtrace on stderr */ void display() const; };