Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: Kill the now useless code State::get_recipe
[simgrid.git] / src / mc / api / ActorState.hpp
index a7fee78b51369c0c36914cc540dfb9956c829e0e..315ed8af38df6ddf8c3afc9401fcd2ee862ec3a0 100644 (file)
@@ -124,7 +124,7 @@ public:
     return this->pending_transitions_[times_considered].get();
   }
 
-  inline void set_transition(std::unique_ptr<Transition> t, unsigned times_considered)
+  inline void set_transition(std::shared_ptr<Transition> t, unsigned times_considered)
   {
     xbt_assert(times_considered < this->pending_transitions_.size(),
                "Actor %ld does not have a state available transition with `times_considered = %u`, "