X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d7dca1d2de1e6d67027e4ba33fefe1eb09550e3..6b214e9de5705ca77332bab116b2f23dba415f50:/include/xbt/ex.hpp diff --git a/include/xbt/ex.hpp b/include/xbt/ex.hpp index de8c43dc0c..7e649738af 100644 --- a/include/xbt/ex.hpp +++ b/include/xbt/ex.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2005-2015. The SimGrid Team. +/* Copyright (c) 2005-2017. The SimGrid Team. * All rights reserved. */ /* Copyright (c) 2002-2004 Ralf S. Engelschall */ @@ -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,13 +79,13 @@ public: simgrid::xbt::WithContextException(throwpoint, simgrid::xbt::backtrace()) {} - ~xbt_ex() override; + ~xbt_ex(); /** Category (what went wrong) */ - xbt_errcat_t category; + xbt_errcat_t category = unknown_error; /** Why did it went wrong */ - int value; + int value = 0; };