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
Remove useless typedef's from C++ files.
[simgrid.git]
/
src
/
xbt
/
backtrace_linux.cpp
diff --git
a/src/xbt/backtrace_linux.cpp
b/src/xbt/backtrace_linux.cpp
index
097519c
..
5b23cb1
100644
(file)
--- a/
src/xbt/backtrace_linux.cpp
+++ b/
src/xbt/backtrace_linux.cpp
@@
-38,10
+38,9
@@
struct trace_arg {
int size;
};
int size;
};
-static _Unwind_Reason_Code
-backtrace_helper (struct _Unwind_Context *ctx, void *a)
+static _Unwind_Reason_Code backtrace_helper(_Unwind_Context* ctx, void* a)
{
{
-
struct trace_arg *arg = (struct trace_arg *) a
;
+
trace_arg* arg = static_cast<trace_arg*>(a)
;
/* We are first called with address in the __backtrace function.
Skip it. */
/* We are first called with address in the __backtrace function.
Skip it. */