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
Derive custom exception from std::exception.
[simgrid.git]
/
src
/
kernel
/
context
/
ContextBoost.cpp
diff --git
a/src/kernel/context/ContextBoost.cpp
b/src/kernel/context/ContextBoost.cpp
index
a4c78b3
..
d597a45
100644
(file)
--- a/
src/kernel/context/ContextBoost.cpp
+++ b/
src/kernel/context/ContextBoost.cpp
@@
-138,7
+138,7
@@
void BoostContext::smx_ctx_boost_wrapper(BoostContext::ctx_arg_type arg)
try {
(*context)();
context->stop();
- } catch (
StopRequest
) {
+ } catch (
const StopRequest&
) {
XBT_DEBUG("Caught a StopRequest");
}
context->suspend();