From: Arnaud Giersch Date: Tue, 13 Mar 2018 15:12:23 +0000 (+0100) Subject: Use "class" for a class. X-Git-Tag: v3.19~65 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d23a5940a60ad4dcf27b09c31cb284f9cd9b2f9d?hp=940de22d7f2af82d58be3e886e6bc22608b4d8ec Use "class" for a class. --- diff --git a/include/xbt/ex.hpp b/include/xbt/ex.hpp index e4958f9d25..1f7d0e153e 100644 --- a/include/xbt/ex.hpp +++ b/include/xbt/ex.hpp @@ -25,8 +25,8 @@ * * @ingroup XBT_ex_c */ -struct XBT_PUBLIC xbt_ex : std::runtime_error, simgrid::xbt::WithContextException { - +class XBT_PUBLIC xbt_ex : public std::runtime_error, public simgrid::xbt::WithContextException { +public: xbt_ex() : std::runtime_error("") {}