From d23a5940a60ad4dcf27b09c31cb284f9cd9b2f9d Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 13 Mar 2018 16:12:23 +0100 Subject: [PATCH] Use "class" for a class. --- include/xbt/ex.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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("") {} -- 2.20.1