Fix a few Clang compiler warnings (-Wsuggest-destructor-override)

A few are left

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
This commit is contained in:
Ferry Huberts 2023-09-02 22:01:32 +02:00
parent ccfc3f8422
commit 44c37df002
13 changed files with 16 additions and 16 deletions

View File

@ -430,7 +430,7 @@ private:
public:
CoroutineHandle(Processor* processor, AbstractCoroutine* rootCoroutine);
~CoroutineHandle();
~CoroutineHandle() override;
Action takeAction(Action&& action);
Action iterate();
@ -501,7 +501,7 @@ public:
/**
* Virtual Destructor
*/
virtual ~AbstractCoroutine() = default;
virtual ~AbstractCoroutine() override = default;
/**
* Entrypoint of Coroutine.

View File

@ -57,7 +57,7 @@ public:
/**
* Virtual destructor.
*/
~IOBuffer();
~IOBuffer() override;
/**
* Get pointer to buffer data.

View File

@ -38,7 +38,7 @@ public:
/**
* virtual destructor.
*/
virtual ~Resource() = default;
virtual ~Resource() override = default;
/**
* Open output stream.

View File

@ -262,7 +262,7 @@ public:
/**
* Default virtual destructor.
*/
virtual ~OutputStream() = default;
virtual ~OutputStream() override = default;
/**
* Set stream I/O mode.
@ -328,7 +328,7 @@ public:
/**
* Default virtual destructor.
*/
virtual ~InputStream() = default;
virtual ~InputStream() override = default;
/**
* Set stream I/O mode.
@ -358,7 +358,7 @@ class BufferedInputStream : public InputStream {
/**
* Default virtual destructor.
*/
virtual ~BufferedInputStream() = default;
virtual ~BufferedInputStream() override = default;
/**
* Peek up to count of bytes int he buffer

View File

@ -41,7 +41,7 @@ public:
/**
* Default virtual destructor.
*/
virtual ~Invalidator() = default;
virtual ~Invalidator() override = default;
/**
* Invalidate resource that was previously created by the correspondent provider. <br>

View File

@ -180,7 +180,7 @@ public:
/**
* Virtual destructor.
*/
virtual ~Provider() = default;
virtual ~Provider() override = default;
/**
* Some optional properties that user might want to know. <br>

View File

@ -74,7 +74,7 @@ public:
Server(const std::shared_ptr<ConnectionProvider>& connectionProvider,
const std::shared_ptr<ConnectionHandler>& connectionHandler);
virtual ~Server();
virtual ~Server() override;
public:

View File

@ -38,7 +38,7 @@ public:
/**
* Default virtual destructor.
*/
virtual ~MetricsChecker() = default;
virtual ~MetricsChecker() override = default;
/**
* Get list of metrics names that are checked by this MetricsChecker.

View File

@ -89,7 +89,7 @@ public:
/**
* Default virtual destructor.
*/
virtual ~StatCollector() = default;
virtual ~StatCollector() override = default;
/**
* Unique metric name that is collected by this `StatCollector`.

View File

@ -131,7 +131,7 @@ public:
/**
* Destructor.
*/
~Interface();
~Interface() override;
/**
* Obtain interface for given name.

View File

@ -261,7 +261,7 @@ public:
/**
* Virtual destructor.
*/
virtual ~Pipe();
virtual ~Pipe() override;
/**
* Get pointer to &l:Pipe::Writer; for this pipe.

View File

@ -38,7 +38,7 @@ public:
/**
* Virtual destructor.
*/
virtual ~Connection() = default;
virtual ~Connection() override = default;
};

View File

@ -44,7 +44,7 @@ public:
/**
* Virtual destructor.
*/
virtual ~Body() = default;
virtual ~Body() override = default;
///////////////////////////
// From the ReadCallback //