class FastStrategy : public DispatchStrategy {
public:
FastStrategy() {}
- virtual void ds_dispatch(Message *m) {
+ void ds_dispatch(Message *m) override {
msgr->ms_fast_preprocess(m);
if (msgr->ms_can_fast_dispatch(m))
msgr->ms_fast_dispatch(m);
else
msgr->ms_deliver_dispatch(m);
}
- virtual void shutdown() {}
- virtual void start() {}
- virtual void wait() {}
+ void shutdown() override {}
+ void start() override {}
+ void wait() override {}
virtual ~FastStrategy() {}
};
#endif /* FAST_STRATEGY_H */