Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[DVFS] Make the Dvfs plugin available
[simgrid.git] / src / xbt / cunit.cpp
index f6d6ee0ba667f2994777d2c1a56e1456c858025a..95b4d95613aa23b3c94d19241dfea014d52ab3d0 100644 (file)
@@ -581,7 +581,8 @@ 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.throwPoint().file, e.throwPoint().line, "Exception %s raised: %s", xbt_ex_catname(e.category), e.what());
+  _xbt_test_fail(e.throw_point().file, e.throw_point().line, "Exception %s raised: %s", xbt_ex_catname(e.category),
+                 e.what());
 }
 
 void xbt_test_expect_failure()
 }
 
 void xbt_test_expect_failure()