Skip to content

Commit

Permalink
Add override specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwoc committed Nov 19, 2019
1 parent 937326b commit dc2d8e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/net/SecureSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ class SecureSocket : public TCPSocket {
~SecureSocket();

// ISocket overrides
void close();
void close() override;

// IDataSocket overrides
virtual void connect(const NetworkAddress&);
virtual void connect(const NetworkAddress&) override;

std::unique_ptr<ISocketMultiplexerJob> 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);

Expand Down

0 comments on commit dc2d8e9

Please sign in to comment.