From dc2d8e966149b6d7675f890ea1ffccac077b8246 Mon Sep 17 00:00:00 2001 From: Daniel Seither Date: Tue, 19 Nov 2019 12:04:55 +0100 Subject: [PATCH] Add override specifiers --- src/lib/net/SecureSocket.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/net/SecureSocket.h b/src/lib/net/SecureSocket.h index 773b5088..d4c36d4d 100644 --- a/src/lib/net/SecureSocket.h +++ b/src/lib/net/SecureSocket.h @@ -39,21 +39,21 @@ public: ~SecureSocket(); // ISocket overrides - void close(); + void close() override; // IDataSocket overrides - virtual void connect(const NetworkAddress&); + virtual void connect(const NetworkAddress&) override; std::unique_ptr newJob() override; - bool isFatal() const { return m_fatal; } + bool isFatal() const override { return m_fatal; } void isFatal(bool b) { m_fatal = b; } bool isSecureReady(); void secureConnect(); void secureAccept(); int secureRead(void* buffer, int size, int& read); int secureWrite(const void* buffer, int size, int& wrote); - EJobResult doRead(); - EJobResult doWrite(); + EJobResult doRead() override; + EJobResult doWrite() override; void initSsl(bool server); bool loadCertificates(String& CertFile);