A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify xbt:Backtrace.
[simgrid.git]
/
include
/
xbt
/
backtrace.hpp
diff --git
a/include/xbt/backtrace.hpp
b/include/xbt/backtrace.hpp
index
05bf810
..
d20fab8
100644
(file)
--- a/
include/xbt/backtrace.hpp
+++ b/
include/xbt/backtrace.hpp
@@
-38,15
+38,10
@@
class BacktraceImpl;
*/
class Backtrace {
public:
*/
class Backtrace {
public:
-
BacktraceImpl* impl_ = nullptr
;
+
std::shared_ptr<BacktraceImpl> impl_
;
Backtrace();
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. */
/** @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;
};
/** @brief Display the resolved backtrace on stderr */
void display() const;
};