Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use "class" for a class.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 13 Mar 2018 15:12:23 +0000 (16:12 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 13 Mar 2018 16:00:10 +0000 (17:00 +0100)
include/xbt/ex.hpp

index e4958f9..1f7d0e1 100644 (file)
@@ -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("")
   {}