void _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file, int line, const char* func)
{
- xbt_ex e(simgrid::xbt::ThrowPoint(file, line, func, simgrid::xbt::backtrace(), xbt_procname(), xbt_getpid()),
+ xbt_ex e(simgrid::xbt::ThrowPoint(file, line, func, simgrid::xbt::Backtrace(), xbt_procname(), xbt_getpid()),
message);
xbt_free(message);
e.category = errcat;
// Get the current backtrace and exception
auto e = std::current_exception();
- simgrid::xbt::Backtrace bt = simgrid::xbt::backtrace();
+ simgrid::xbt::Backtrace bt = simgrid::xbt::Backtrace();
try {
std::rethrow_exception(e);
}