Add override keyword to those methods requiring it

This commit is contained in:
Peter Barker
2021-10-20 21:33:54 -04:00
committed by Daniel Agar
parent 29e1aa6c12
commit ebfa20c994
14 changed files with 39 additions and 39 deletions
@@ -126,7 +126,7 @@ protected:
const ServiceCallID id_;
bool timed_out_;
virtual void handleDeadline(MonotonicTime);
virtual void handleDeadline(MonotonicTime) override;
public:
CallState(INode& node, ServiceClientBase& owner, ServiceCallID call_id)
@@ -262,13 +262,13 @@ private:
PublisherType publisher_;
Callback callback_;
virtual bool shouldAcceptFrame(const RxFrame& frame) const; // Called from the transfer listener
virtual bool shouldAcceptFrame(const RxFrame& frame) const override; // Called from the transfer listener
void invokeCallback(ServiceCallResultType& result);
virtual void handleReceivedDataStruct(ReceivedDataStructure<ResponseType>& response);
virtual void handleReceivedDataStruct(ReceivedDataStructure<ResponseType>& response) override;
virtual void handleDeadline(MonotonicTime);
virtual void handleDeadline(MonotonicTime) override;
int addCallState(ServiceCallID call_id);