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
Const ref for catch.
[simgrid.git]
/
src
/
surf
/
HostImpl.cpp
diff --git
a/src/surf/HostImpl.cpp
b/src/surf/HostImpl.cpp
index
de2ba8f
..
ad435f4
100644
(file)
--- a/
src/surf/HostImpl.cpp
+++ b/
src/surf/HostImpl.cpp
@@
-45,7
+45,7
@@
HostImpl::~HostImpl()
EngineImpl::get_instance()->display_all_actor_status();
xbt_die("%s:%s", msg, actors.c_str());
- } catch (std::bad_alloc& ba) {
+ } catch (
const
std::bad_alloc& ba) {
xbt_die("%s (cannot print actor list: %s)", msg, ba.what());
}
}