Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix SimGrid-FMI
[simgrid.git] / src / kernel / resource / Model.cpp
index 4357714..956cb32 100644 (file)
@@ -13,7 +13,7 @@ namespace kernel {
 namespace resource {
 
 Model::Model(Model::UpdateAlgo algo) : update_algorithm_(algo) {}
-Model::~Model() = default;
+Model::~Model() = default; // Don't move this declaration to the header, or it will break external projects such as SimGrid-FMI
 
 Action::ModifiedSet* Model::get_modified_set() const
 {
@@ -143,7 +143,7 @@ Action* Model::extract_action(Action::StateSet* list)
 {
   if (list->empty())
     return nullptr;
-  simgrid::kernel::resource::Action* res = &list->front();
+  Action* res = &list->front();
   list->pop_front();
   return res;
 }