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

Public GIT Repository
please clang (?) and make properties optional to create an ActorImpl
[simgrid.git] / src / surf / cpu_ti.hpp
index 48178a1a40bfdb9241d6e77b63f100132e7d63ee..6997bfe5b35d1e92f8eae9b0b99302f93586656a 100644 (file)
@@ -105,7 +105,7 @@ public:
   CpuTi& operator&(const CpuTi&) = delete;
   ~CpuTi() override;
 
-  void set_speed_profile(profile::Profile* profile) override;
+  Cpu* set_speed_profile(profile::Profile* profile) override;
 
   void apply_event(profile::Event* event, double value) override;
   void update_actions_finish_time(double now);
@@ -142,7 +142,7 @@ class CpuTiModel : public CpuModel {
 public:
   static void create_pm_models(); // Make CPU PM model
 
-  CpuTiModel()                  = default;
+  using CpuModel::CpuModel;
   CpuTiModel(const CpuTiModel&) = delete;
   CpuTiModel& operator=(const CpuTiModel&) = delete;
   Cpu* create_cpu(s4u::Host* host, const std::vector<double>& speed_per_pstate) override;