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
config::Flag: allow to pass a map of the valid values
[simgrid.git]
/
include
/
xbt
/
ex.hpp
diff --git
a/include/xbt/ex.hpp
b/include/xbt/ex.hpp
index
4208eea
..
9b6ff5f
100644
(file)
--- a/
include/xbt/ex.hpp
+++ b/
include/xbt/ex.hpp
@@
-25,10
+25,8
@@
*
* @ingroup XBT_ex_c
*/
*
* @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("")
{}
xbt_ex() :
std::runtime_error("")
{}
@@
-43,7
+41,7
@@
struct XBT_PUBLIC() xbt_ex :
simgrid::xbt::WithContextException(throwpoint, simgrid::xbt::backtrace())
{}
simgrid::xbt::WithContextException(throwpoint, simgrid::xbt::backtrace())
{}
- ~xbt_ex();
+ ~xbt_ex();
// DO NOT define it here -- see ex.cpp for a rationale
/** Category (what went wrong) */
xbt_errcat_t category = unknown_error;
/** Category (what went wrong) */
xbt_errcat_t category = unknown_error;