]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/cpu_ti.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Variables captured by copy are constant and cannot be std::move'd.
[simgrid.git] / src / surf / cpu_ti.cpp
index 36f54ff726c8be5734a66aad2e476eb49efdf804..9b37aa12b7ffa3215022c44d8b82d6d2091bbc48 100644 (file)
@@ -458,7 +458,7 @@ void CpuTi::update_actions_finish_time(double now)
   set_modified(false);
 }
 
-bool CpuTi::is_used()
+bool CpuTi::is_used() const
 {
   return not action_set_.empty();
 }