ExecPtr Exec::setHost(Host* host)
{
xbt_assert(state_ == inited || state_ == started, "Cannot change the host of an exec once it's done (state: %d)", state_);
ExecPtr Exec::setHost(Host* host)
{
xbt_assert(state_ == inited || state_ == started, "Cannot change the host of an exec once it's done (state: %d)", state_);