Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'task-docs' into 'master'
[simgrid.git] / src / kernel / activity / CommImpl.cpp
index 72f114d07289e0bf6bedcf60544d2f369dbc240d..f26499320440c5c4b60bbd1258c2eea1dbbfa103 100644 (file)
@@ -168,7 +168,7 @@ CommImpl* CommImpl::start()
 
 std::vector<s4u::Link*> CommImpl::get_traversed_links() const
 {
-  xbt_assert(get_state() != State::WAITING, "You cannot use %s() if your communication is not ready (%s)", __FUNCTION__,
+  xbt_assert(get_state() != State::WAITING, "You cannot use %s() if your communication is not ready (%s)", __func__,
              get_state_str());
   std::vector<s4u::Link*> vlinks;
   XBT_ATTRIB_UNUSED double res = 0;