X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/375fd7283ef0853cc5d023747efc9f3821ba97ca..6db6413133c36dd1a9e798d35e75afd7ceb63001:/src/xbt/cunit.cpp diff --git a/src/xbt/cunit.cpp b/src/xbt/cunit.cpp index 95b4d95613..a3a625fda7 100644 --- a/src/xbt/cunit.cpp +++ b/src/xbt/cunit.cpp @@ -14,8 +14,8 @@ #include #include +#include "simgrid/Exception.hpp" #include -#include #include /* output stream to use everywhere */ @@ -581,7 +581,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.throw_point().file, e.throw_point().line, "Exception %s raised: %s", xbt_ex_catname(e.category), + _xbt_test_fail(e.throw_point().file_, e.throw_point().line_, "Exception %s raised: %s", xbt_ex_catname(e.category), e.what()); }