X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/09ae311009060c8bf6cda09873b78f81b268badd..afd3a47e007a0f91d206cc2e47b69b4b86970fc2:/src/xbt/exception.cpp?ds=sidebyside diff --git a/src/xbt/exception.cpp b/src/xbt/exception.cpp index 49f6188893..ad829c2169 100644 --- a/src/xbt/exception.cpp +++ b/src/xbt/exception.cpp @@ -4,8 +4,13 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include + +#include #include +#include #include +#include #include #include @@ -22,7 +27,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_exception, xbt, "Exceptions"); namespace simgrid { namespace xbt { -WithContextException::~WithContextException() {} +WithContextException::~WithContextException() = default; void logException( e_xbt_log_priority_t prio, @@ -127,8 +132,3 @@ void installExceptionHandler() } } - -void xbt_set_terminate() -{ - simgrid::xbt::installExceptionHandler(); -}