Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics (codefactor+coding style)
[simgrid.git] / src / kernel / activity / ActivityImpl.cpp
index c5f3524..2406311 100644 (file)
@@ -21,7 +21,7 @@ ActivityImpl::~ActivityImpl()
 void ActivityImpl::register_simcall(smx_simcall_t simcall)
 {
   simcalls_.push_back(simcall);
-  simcall->issuer->waiting_synchro = this;
+  simcall->issuer_->waiting_synchro = this;
 }
 
 void ActivityImpl::clean_action()
@@ -60,7 +60,7 @@ void ActivityImpl::cancel()
   XBT_VERB("Activity %p is canceled", this);
   if (surf_action_ != nullptr)
     surf_action_->cancel();
-  state_ = SIMIX_CANCELED;
+  state_ = State::CANCELED;
 }
 
 // boost::intrusive_ptr<Activity> support: