1
0

Clang 5.0 fixes

- Added override keyword
- Removed inherited member variables
This commit is contained in:
Lukas Pioch
2017-05-20 08:16:28 +02:00
parent 758622336e
commit e35ac1bfb9
64 changed files with 64 additions and 74 deletions

View File

@@ -33,7 +33,7 @@ public:
cHTTPServerConnection(cHTTPServer & a_HTTPServer);
// Force a virtual destructor in all descendants
virtual ~cHTTPServerConnection();
virtual ~cHTTPServerConnection() override;
/** Sends HTTP status code together with a_Reason (used for HTTP errors).
Sends the a_Reason as the body as well, so that browsers display it.

View File

@@ -26,7 +26,7 @@ public:
Sends the specified cert as the server certificate, uses the private key for decryption. */
cSslHTTPServerConnection(cHTTPServer & a_HTTPServer, const cX509CertPtr & a_Cert, const cCryptoKeyPtr & a_PrivateKey);
~cSslHTTPServerConnection();
virtual ~cSslHTTPServerConnection() override;
protected:
cBufferedSslContext m_Ssl;