A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugs, smells and cosmetics of the day
[simgrid.git]
/
include
/
xbt
/
ex.hpp
diff --git
a/include/xbt/ex.hpp
b/include/xbt/ex.hpp
index
cde2d3e
..
882f15b
100644
(file)
--- a/
include/xbt/ex.hpp
+++ b/
include/xbt/ex.hpp
@@
-62,9
+62,8
@@
* @ingroup XBT_ex_c
*/
struct XBT_PUBLIC() xbt_ex :
* @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("")
xbt_ex() :
std::runtime_error("")
@@
-80,7
+79,7
@@
public:
simgrid::xbt::WithContextException(throwpoint, simgrid::xbt::backtrace())
{}
simgrid::xbt::WithContextException(throwpoint, simgrid::xbt::backtrace())
{}
-
~xbt_ex() override
;
+
virtual ~xbt_ex() = default
;
/** Category (what went wrong) */
xbt_errcat_t category = unknown_error;
/** Category (what went wrong) */
xbt_errcat_t category = unknown_error;