Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add start and copy_data methods to CommImpl
[simgrid.git] / src / kernel / activity / ActivityImpl.cpp
index a2cdff3..1cb313a 100644 (file)
@@ -32,7 +32,7 @@ void ActivityImpl::resume()
 void ActivityImpl::set_category(std::string category)
 {
   if (surf_action_)
-    surf_action_->set_category(category);
+    surf_action_->set_category(std::move(category));
 }
 
 // boost::intrusive_ptr<Activity> support: