Commit 2e1e2f4c authored by Dominik Charousset's avatar Dominik Charousset

Remove dead code

parent e1181789
......@@ -28,18 +28,18 @@ namespace {
class combinator final : public behavior_impl {
public:
bhvr_invoke_result invoke(message& arg) {
bhvr_invoke_result invoke(message& arg) override {
auto res = first->invoke(arg);
return res ? res : second->invoke(arg);
}
void handle_timeout() {
void handle_timeout() override {
// the second behavior overrides the timeout handling of
// first behavior
return second->handle_timeout();
}
pointer copy(const generic_timeout_definition& tdef) const {
pointer copy(const generic_timeout_definition& tdef) const override {
return new combinator(first, second->copy(tdef));
}
......@@ -50,12 +50,6 @@ public:
// nop
}
protected:
match_case** get_cases(size_t&) {
// never called
return nullptr;
}
private:
pointer first;
pointer second;
......
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