Commit a27ce413 authored by Matthias Vallentin's avatar Matthias Vallentin

Fix -Winconsistent-missing-override warnings

parent 4c498df6
...@@ -57,7 +57,7 @@ public: ...@@ -57,7 +57,7 @@ public:
void enqueue(const actor_addr& sender, message_id mid, void enqueue(const actor_addr& sender, message_id mid,
message content, execution_unit* host) override; message content, execution_unit* host) override;
void initialize(); void initialize() override;
private: private:
// set by parent to define custom enqueue action // set by parent to define custom enqueue action
......
...@@ -132,7 +132,7 @@ protected: ...@@ -132,7 +132,7 @@ protected:
policy_.foreach_central_resumable(this, f); policy_.foreach_central_resumable(this, f);
} }
void enqueue(resumable* ptr) { void enqueue(resumable* ptr) override {
policy_.central_enqueue(this, ptr); policy_.central_enqueue(this, ptr);
} }
......
...@@ -121,7 +121,7 @@ public: ...@@ -121,7 +121,7 @@ public:
erase_subscriber(who); erase_subscriber(who);
} }
void serialize(serializer* sink); void serialize(serializer* sink) override;
void stop() override { void stop() override {
CAF_LOG_TRACE(""); CAF_LOG_TRACE("");
...@@ -151,7 +151,7 @@ public: ...@@ -151,7 +151,7 @@ public:
// nop // nop
} }
void on_exit() { void on_exit() override {
acquaintances_.clear(); acquaintances_.clear();
group_.reset(); group_.reset();
} }
......
...@@ -41,7 +41,7 @@ class testee : public event_based_actor { ...@@ -41,7 +41,7 @@ class testee : public event_based_actor {
public: public:
testee(); testee();
~testee(); ~testee();
void on_exit(); void on_exit() override;
behavior make_behavior() override; behavior make_behavior() override;
}; };
......
...@@ -718,7 +718,7 @@ CAF_TEST(kr34t0r) { ...@@ -718,7 +718,7 @@ CAF_TEST(kr34t0r) {
} }
}; };
} }
void on_exit() { void on_exit() override {
pal_ = invalid_actor; // break cycle pal_ = invalid_actor; // break cycle
} }
......
...@@ -250,7 +250,7 @@ public: ...@@ -250,7 +250,7 @@ public:
return spawn_ping(); return spawn_ping();
} }
void on_exit() { void on_exit() override {
++s_on_exit_called; ++s_on_exit_called;
} }
...@@ -340,7 +340,7 @@ public: ...@@ -340,7 +340,7 @@ public:
// nop // nop
} }
void on_exit() { void on_exit() override {
++s_on_exit_called; ++s_on_exit_called;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment