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
A simcall seems superfluous here (+ constify).
[simgrid.git]
/
src
/
xbt
/
exception.cpp
diff --git
a/src/xbt/exception.cpp
b/src/xbt/exception.cpp
index
a87ac86
..
82b64ee
100644
(file)
--- a/
src/xbt/exception.cpp
+++ b/
src/xbt/exception.cpp
@@
-145,7
+145,7
@@
static void handler()
std::abort();
}
std::abort();
}
- catch (simgrid::
kernel::context::ForcefulKillException
& e) {
+ catch (simgrid::
ForcefulKillException const
& e) {
XBT_ERROR("Received a ForcefulKillException at the top-level exception handler. Maybe a Java->C++ call that is not "
"protected "
"in a try/catch?");
XBT_ERROR("Received a ForcefulKillException at the top-level exception handler. Maybe a Java->C++ call that is not "
"protected "
"in a try/catch?");
@@
-172,15
+172,6
@@
void install_exception_handler()
previous_terminate_handler = std::set_terminate(handler);
});
}
previous_terminate_handler = std::set_terminate(handler);
});
}
-// deprecated
-void logException(e_xbt_log_priority_t priority, const char* context, std::exception const& exception)
-{
- log_exception(priority, context, exception);
-}
-void installExceptionHandler()
-{
- install_exception_handler();
-}
} // namespace xbt
} // namespace simgrid
} // namespace xbt
} // namespace simgrid