if (xbt_log_no_loc) {
XBT_WARN("Leaked handle of type %s", boost::core::demangle(typeid(*p.second).name()).c_str());
} else {
- XBT_WARN("Leaked handle of type %s at %p", boost::core::demangle(typeid(*p.second).name()).c_str(), p.second);
+ XBT_WARN("Leaked handle of type %s at %p", p.second->name().c_str(), p.second);
}
}
if (truncate)