Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
better use of inherency around Model::next_occuring_event_full()
[simgrid.git] / src / surf / cpu_interface.hpp
index 5823a71..22317b5 100644 (file)
@@ -38,7 +38,7 @@ class CpuAction;
 XBT_PUBLIC_CLASS CpuModel : public Model {
 public:
   CpuModel() : Model() {};
-  ~CpuModel() override;
+  ~CpuModel() = default;
 
   /**
    * @brief Create a Cpu
@@ -51,7 +51,7 @@ public:
 
   void updateActionsStateLazy(double now, double delta) override;
   void updateActionsStateFull(double now, double delta) override;
-  bool next_occuring_event_isIdempotent() override;
+  bool next_occuring_event_isIdempotent() {return true;};
 };
 
 /************