X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/31a6e7924c82cf18f981739b2f27f5920b970e73..b81fbca63e1c91d6c0084ed124988e4bbbf6d56b:/include/xbt/ex.hpp diff --git a/include/xbt/ex.hpp b/include/xbt/ex.hpp index cde2d3e278..efd8eee333 100644 --- a/include/xbt/ex.hpp +++ b/include/xbt/ex.hpp @@ -62,9 +62,8 @@ * @ingroup XBT_ex_c */ struct XBT_PUBLIC() xbt_ex : - public std::runtime_error, - public simgrid::xbt::WithContextException { -public: + std::runtime_error, + simgrid::xbt::WithContextException { xbt_ex() : std::runtime_error("") @@ -80,7 +79,7 @@ public: simgrid::xbt::WithContextException(throwpoint, simgrid::xbt::backtrace()) {} - ~xbt_ex() override; + ~xbt_ex() = default; /** Category (what went wrong) */ xbt_errcat_t category = unknown_error;