X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/5f6e6cd0b35a54b63928307bed66047235500ad6..e47900c5182c4b1c34a1670babcce033748cc473:/communicator.cpp diff --git a/communicator.cpp b/communicator.cpp index 2ddea5d..e841116 100644 --- a/communicator.cpp +++ b/communicator.cpp @@ -54,9 +54,9 @@ msg_comm_t communicator::real_send(const char* dest, message* msg) { XBT_DEBUG("send %s to %s", msg->to_string().c_str(), dest); m_task_t task = MSG_task_create("message", 0.0, msg->get_size(), msg); - TRACE_msg_set_task_category(task, - msg->get_type() == message::DATA ? - TRACE_CAT_DATA : TRACE_CAT_CTRL); + MSG_task_set_category(task, + msg->get_type() == message::DATA ? + TRACE_CAT_DATA : TRACE_CAT_CTRL); return MSG_task_isend(task, dest); }