/* I am the receiver */
(*task_received)->set_not_used();
}
- } catch (simgrid::TimeoutError& e) {
+ } catch (const simgrid::TimeoutError&) {
status_ = MSG_TIMEOUT;
finished = true;
- } catch (simgrid::CancelException& e) {
+ } catch (const simgrid::CancelException&) {
status_ = MSG_TASK_CANCELED;
finished = true;
} catch (xbt_ex& e) {
}
/* FIXME: these functions are not traceable */
- } catch (simgrid::TimeoutError& e) {
+ } catch (const simgrid::TimeoutError&) {
status_ = MSG_TIMEOUT;
- } catch (simgrid::CancelException& e) {
+ } catch (const simgrid::CancelException&) {
status_ = MSG_TASK_CANCELED;
} catch (xbt_ex& e) {
if (e.category == network_error)
msg_comm_t comm;
unsigned int cursor;
xbt_dynar_foreach (comms, cursor, comm) {
- s_comms.push_back(static_cast<simgrid::kernel::activity::CommImpl*>(comm->s_comm->get_impl().get()));
+ s_comms.push_back(static_cast<simgrid::kernel::activity::CommImpl*>(comm->s_comm->get_impl()));
}
msg_error_t status = MSG_OK;
msg_comm_t comm;
unsigned int cursor;
xbt_dynar_foreach (comms, cursor, comm) {
- s_comms.push_back(static_cast<simgrid::kernel::activity::CommImpl*>(comm->s_comm->get_impl().get()));
+ s_comms.push_back(static_cast<simgrid::kernel::activity::CommImpl*>(comm->s_comm->get_impl()));
}
msg_error_t status = MSG_OK;