X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dfafe652e9ae62c35cd0fc084b117fc987b3e8dc..0ad22c246cffa73ee274c6521b78956c4bac0dc4:/src/s4u/s4u_Mess.cpp diff --git a/src/s4u/s4u_Mess.cpp b/src/s4u/s4u_Mess.cpp index 9799ad1eb7..0a8da79d37 100644 --- a/src/s4u/s4u_Mess.cpp +++ b/src/s4u/s4u_Mess.cpp @@ -35,7 +35,7 @@ MessPtr Mess::set_payload(void* payload) MessPtr Mess::set_dst_data(void** buff, size_t size) { xbt_assert(state_ == State::INITED, "You cannot use %s() once your communication started (not implemented)", - __FUNCTION__); + __func__); dst_buff_ = buff; dst_buff_size_ = size; @@ -61,7 +61,7 @@ Actor* Mess::get_receiver() const Mess* Mess::do_start() { xbt_assert(get_state() == State::INITED || get_state() == State::STARTING, - "You cannot use %s() once your message exchange has started (not implemented)", __FUNCTION__); + "You cannot use %s() once your message exchange has started (not implemented)", __func__); auto myself = kernel::actor::ActorImpl::self(); if (myself == sender_) {