Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
yet another missing 'override' keyword
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 1 Sep 2016 17:00:11 +0000 (19:00 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 1 Sep 2016 17:00:32 +0000 (19:00 +0200)
src/surf/virtual_machine.hpp

index efc20f5..47ad8c5 100644 (file)
@@ -115,7 +115,7 @@ public:
    * @param host_PM The real machine hosting the VM
    */
   s4u::Host *createVM(const char *name, sg_host_t host_PM);
    * @param host_PM The real machine hosting the VM
    */
   s4u::Host *createVM(const char *name, sg_host_t host_PM);
-  void adjustWeightOfDummyCpuActions() {};
+  void adjustWeightOfDummyCpuActions() override {};
 
   double next_occuring_event(double now) override;
   void updateActionsState(double /*now*/, double /*delta*/) override {};
 
   double next_occuring_event(double now) override;
   void updateActionsState(double /*now*/, double /*delta*/) override {};