Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
we cannot use PYBIND11 without PYTHONLIBS
[simgrid.git] / src / xbt / cunit.cpp
index 586173e..a3a625f 100644 (file)
@@ -14,7 +14,7 @@
 #include <string>
 #include <vector>
 
-#include "simgrid/exception.hpp"
+#include "simgrid/Exception.hpp"
 #include <xbt/cunit.h>
 #include <xbt/string.hpp>
 
@@ -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());
 }