X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d568c1c940444f6645e297f9c09e0bba96fce8cf..fae10815035e4d0d150ff5fdbb7aa8fe25448c57:/src/xbt/cunit.cpp diff --git a/src/xbt/cunit.cpp b/src/xbt/cunit.cpp index 3be162f183..e9439c2c22 100644 --- 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) { - _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)