mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2024-12-22 22:16:37 +08:00
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:
parent
ccfc3f8422
commit
44c37df002
@ -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.
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
/**
|
||||
* Virtual destructor.
|
||||
*/
|
||||
~IOBuffer();
|
||||
~IOBuffer() override;
|
||||
|
||||
/**
|
||||
* Get pointer to buffer data.
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
/**
|
||||
* virtual destructor.
|
||||
*/
|
||||
virtual ~Resource() = default;
|
||||
virtual ~Resource() override = default;
|
||||
|
||||
/**
|
||||
* Open output stream.
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -180,7 +180,7 @@ public:
|
||||
/**
|
||||
* Virtual destructor.
|
||||
*/
|
||||
virtual ~Provider() = default;
|
||||
virtual ~Provider() override = default;
|
||||
|
||||
/**
|
||||
* Some optional properties that user might want to know. <br>
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
Server(const std::shared_ptr<ConnectionProvider>& connectionProvider,
|
||||
const std::shared_ptr<ConnectionHandler>& connectionHandler);
|
||||
|
||||
virtual ~Server();
|
||||
virtual ~Server() override;
|
||||
|
||||
public:
|
||||
|
||||
|
@ -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.
|
||||
|
@ -89,7 +89,7 @@ public:
|
||||
/**
|
||||
* Default virtual destructor.
|
||||
*/
|
||||
virtual ~StatCollector() = default;
|
||||
virtual ~StatCollector() override = default;
|
||||
|
||||
/**
|
||||
* Unique metric name that is collected by this `StatCollector`.
|
||||
|
@ -131,7 +131,7 @@ public:
|
||||
/**
|
||||
* Destructor.
|
||||
*/
|
||||
~Interface();
|
||||
~Interface() override;
|
||||
|
||||
/**
|
||||
* Obtain interface for given name.
|
||||
|
@ -261,7 +261,7 @@ public:
|
||||
/**
|
||||
* Virtual destructor.
|
||||
*/
|
||||
virtual ~Pipe();
|
||||
virtual ~Pipe() override;
|
||||
|
||||
/**
|
||||
* Get pointer to &l:Pipe::Writer; for this pipe.
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
/**
|
||||
* Virtual destructor.
|
||||
*/
|
||||
virtual ~Connection() = default;
|
||||
virtual ~Connection() override = default;
|
||||
|
||||
};
|
||||
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
/**
|
||||
* Virtual destructor.
|
||||
*/
|
||||
virtual ~Body() = default;
|
||||
virtual ~Body() override = default;
|
||||
|
||||
///////////////////////////
|
||||
// From the ReadCallback //
|
||||
|
Loading…
Reference in New Issue
Block a user