mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-26 06:42:08 +00:00
fix(c++): add missing overrides
Reported by cppcheck Signed-off-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
parent
7879920570
commit
a9e1bfef42
@ -64,9 +64,9 @@ public:
|
||||
// Pointer to function that requests the system to start processing given requests
|
||||
void (Service::AsyncService::*m_request_func)(::grpc::ServerContext*, Request*, ::grpc::ServerAsyncWriter<Response>*, ::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<Response>> m_res_writer;
|
||||
@ -91,9 +91,9 @@ public:
|
||||
// Pointer to function that requests the system to start processing given requests
|
||||
void (Service::AsyncService::*m_request_func)(::grpc::ServerContext*, Request*, ::grpc::ServerAsyncResponseWriter<Response>*, ::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<Response>> m_res_writer;
|
||||
@ -115,9 +115,9 @@ public:
|
||||
// Pointer to function that requests the system to start processing given requests
|
||||
void (Service::AsyncService::*m_request_func)(::grpc::ServerContext*, ::grpc::ServerAsyncReaderWriter<Response, Request>*, ::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<Response, Request>> m_reader_writer;
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user