Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add missing override keywords
authorSUTER Frederic <frederic.suter@cc.in2p3.fr>
Wed, 2 Feb 2022 18:10:47 +0000 (19:10 +0100)
committerSUTER Frederic <frederic.suter@cc.in2p3.fr>
Wed, 2 Feb 2022 18:10:47 +0000 (19:10 +0100)
src/kernel/actor/SimcallObserver.hpp

index 57f79b3..77f94f8 100644 (file)
@@ -177,7 +177,7 @@ public:
   }
   SimcallObserver* clone() override { return new ActivityTestSimcall(get_issuer(), activity_); }
   bool is_visible() const override { return true; }
   }
   SimcallObserver* clone() override { return new ActivityTestSimcall(get_issuer(), activity_); }
   bool is_visible() const override { return true; }
-  bool depends(SimcallObserver* other);
+  bool depends(SimcallObserver* other) override;
   std::string to_string(int times_considered) const override;
   std::string dot_label(int times_considered) const override;
   activity::ActivityImpl* get_activity() const { return activity_; }
   std::string to_string(int times_considered) const override;
   std::string dot_label(int times_considered) const override;
   activity::ActivityImpl* get_activity() const { return activity_; }
@@ -214,7 +214,7 @@ public:
   SimcallObserver* clone() override { return new ActivityWaitSimcall(get_issuer(), activity_, timeout_); }
   bool is_visible() const override { return true; }
   bool is_enabled() const override;
   SimcallObserver* clone() override { return new ActivityWaitSimcall(get_issuer(), activity_, timeout_); }
   bool is_visible() const override { return true; }
   bool is_enabled() const override;
-  bool depends(SimcallObserver* other);
+  bool depends(SimcallObserver* other) override;
   std::string to_string(int times_considered) const override;
   std::string dot_label(int times_considered) const override;
   activity::ActivityImpl* get_activity() const { return activity_; }
   std::string to_string(int times_considered) const override;
   std::string dot_label(int times_considered) const override;
   activity::ActivityImpl* get_activity() const { return activity_; }