Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove temporary object (sonar).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 25 Aug 2022 09:59:17 +0000 (11:59 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 25 Aug 2022 09:59:17 +0000 (11:59 +0200)
src/mc/api/RemoteApp.cpp

index 87ac817..d7c1037 100644 (file)
@@ -171,7 +171,7 @@ void RemoteApp::get_actors_status(std::map<aid_t, ActorState>& whereto) const
 
   whereto.clear();
   for (auto const& actor : status)
-    whereto.try_emplace(actor.aid, ActorState(actor.aid, actor.enabled, actor.max_considered));
+    whereto.try_emplace(actor.aid, actor.aid, actor.enabled, actor.max_considered);
 }
 
 void RemoteApp::check_deadlock() const