From 9630d685b4a5a60544b601005ebc5c872f47566c Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 22 Aug 2017 22:05:26 +0200 Subject: [PATCH] Missing "override"s. --- src/surf/network_ns3.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surf/network_ns3.hpp b/src/surf/network_ns3.hpp index d7ff3ceffe..196d193d5e 100644 --- a/src/surf/network_ns3.hpp +++ b/src/surf/network_ns3.hpp @@ -22,7 +22,7 @@ public: e_surf_link_sharing_policy_t policy) override; Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override; double nextOccuringEvent(double now) override; - bool nextOccuringEventIsIdempotent() {return false;} + bool nextOccuringEventIsIdempotent() override { return false; } void updateActionsState(double now, double delta) override; }; @@ -48,7 +48,7 @@ class XBT_PRIVATE NetworkNS3Action : public NetworkAction { public: NetworkNS3Action(Model* model, double cost, s4u::Host* src, s4u::Host* dst); - bool isSuspended(); + bool isSuspended() override; int unref() override; void suspend() override; void resume() override; -- 2.20.1