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
Change some calls to get_cname to calls to get_name.
[simgrid.git]
/
src
/
simix
/
ActorImpl.cpp
diff --git
a/src/simix/ActorImpl.cpp
b/src/simix/ActorImpl.cpp
index
6d0d347
..
57dc7a1
100644
(file)
--- a/
src/simix/ActorImpl.cpp
+++ b/
src/simix/ActorImpl.cpp
@@
-295,7
+295,7
@@
smx_activity_t ActorImpl::sleep(double duration)
{
if (not host_->is_on())
throw_exception(std::make_exception_ptr(simgrid::HostFailureException(
- XBT_THROW_POINT, std::string("Host ") +
std::string(host_->get_cname()
) + " failed, you cannot sleep there.")));
+ XBT_THROW_POINT, std::string("Host ") +
host_->get_cname(
) + " failed, you cannot sleep there.")));
return simgrid::kernel::activity::SleepImplPtr(new simgrid::kernel::activity::SleepImpl("sleep", host_))
->start(duration);