diff --git a/userspace/falco/grpc_request_context.h b/userspace/falco/grpc_request_context.h index 4f279fb7551..09aa35af8ba 100644 --- a/userspace/falco/grpc_request_context.h +++ b/userspace/falco/grpc_request_context.h @@ -64,9 +64,9 @@ class request_stream_context : public request_context_base // Pointer to function that requests the system to start processing given requests void (Service::AsyncService::*m_request_func)(::grpc::ServerContext*, Request*, ::grpc::ServerAsyncWriter*, ::grpc::CompletionQueue*, ::grpc::ServerCompletionQueue*, void*); - void start(server* srv); - void process(server* srv); - void end(server* srv, bool error); + void start(server* srv) override; + void process(server* srv) override; + void end(server* srv, bool error) override; private: std::unique_ptr<::grpc::ServerAsyncWriter> m_res_writer; @@ -91,9 +91,9 @@ class request_context : public request_context_base // Pointer to function that requests the system to start processing given requests void (Service::AsyncService::*m_request_func)(::grpc::ServerContext*, Request*, ::grpc::ServerAsyncResponseWriter*, ::grpc::CompletionQueue*, ::grpc::ServerCompletionQueue*, void*); - void start(server* srv); - void process(server* srv); - void end(server* srv, bool error); + void start(server* srv) override; + void process(server* srv) override; + void end(server* srv, bool error) override; private: std::unique_ptr<::grpc::ServerAsyncResponseWriter> m_res_writer; @@ -115,9 +115,9 @@ class request_bidi_context : public request_context_base // Pointer to function that requests the system to start processing given requests void (Service::AsyncService::*m_request_func)(::grpc::ServerContext*, ::grpc::ServerAsyncReaderWriter*, ::grpc::CompletionQueue*, ::grpc::ServerCompletionQueue*, void*); - void start(server* srv); - void process(server* srv); - void end(server* srv, bool error); + void start(server* srv) override; + void process(server* srv) override; + void end(server* srv, bool error) override; private: std::unique_ptr<::grpc::ServerAsyncReaderWriter> m_reader_writer; diff --git a/userspace/falco/outputs_file.h b/userspace/falco/outputs_file.h index 0849c84636d..2c6e7a98eed 100644 --- a/userspace/falco/outputs_file.h +++ b/userspace/falco/outputs_file.h @@ -28,11 +28,11 @@ namespace outputs class output_file : public abstract_output { - void output(const message *msg); + void output(const message *msg) override; - void cleanup(); + void cleanup() override; - void reopen(); + void reopen() override; private: void open_file(); diff --git a/userspace/falco/outputs_grpc.h b/userspace/falco/outputs_grpc.h index 90166b2d756..84264b21a78 100644 --- a/userspace/falco/outputs_grpc.h +++ b/userspace/falco/outputs_grpc.h @@ -26,7 +26,7 @@ namespace outputs class output_grpc : public abstract_output { - void output(const message *msg); + void output(const message *msg) override; }; } // namespace outputs diff --git a/userspace/falco/outputs_program.h b/userspace/falco/outputs_program.h index 620b8a6a0b4..387881842c2 100644 --- a/userspace/falco/outputs_program.h +++ b/userspace/falco/outputs_program.h @@ -26,11 +26,11 @@ namespace outputs class output_program : public abstract_output { - void output(const message *msg); + void output(const message *msg) override; - void cleanup(); + void cleanup() override; - void reopen(); + void reopen() override; private: void open_pfile(); diff --git a/userspace/falco/outputs_stdout.h b/userspace/falco/outputs_stdout.h index 34be5292e8b..af98cf24cd7 100644 --- a/userspace/falco/outputs_stdout.h +++ b/userspace/falco/outputs_stdout.h @@ -26,9 +26,9 @@ namespace outputs class output_stdout : public abstract_output { - void output(const message *msg); + void output(const message *msg) override; - void cleanup(); + void cleanup() override; }; } // namespace outputs diff --git a/userspace/falco/outputs_syslog.h b/userspace/falco/outputs_syslog.h index 8d22b8412c3..3e5d2054c2b 100644 --- a/userspace/falco/outputs_syslog.h +++ b/userspace/falco/outputs_syslog.h @@ -26,7 +26,7 @@ namespace outputs class output_syslog : public abstract_output { - void output(const message *msg); + void output(const message *msg) override; }; } // namespace outputs