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
[xbt] Move throwpoint out of xbt_ex in WithContextException
[simgrid.git]
/
src
/
xbt
/
cunit.cpp
diff --git
a/src/xbt/cunit.cpp
b/src/xbt/cunit.cpp
index
3be162f
..
e9439c2
100644
(file)
--- a/
src/xbt/cunit.cpp
+++ b/
src/xbt/cunit.cpp
@@
-670,7
+670,7
@@
void _xbt_test_fail(const char *file, int line, const char *fmt, ...)
void xbt_test_exception(xbt_ex_t e)
{
void xbt_test_exception(xbt_ex_t e)
{
- _xbt_test_fail(e.
file, e
.line, "Exception %s raised: %s", xbt_ex_catname(e.category), e.what());
+ _xbt_test_fail(e.
throwPoint().file, e.throwPoint()
.line, "Exception %s raised: %s", xbt_ex_catname(e.category), e.what());
}
void xbt_test_expect_failure(void)
}
void xbt_test_expect_failure(void)