diff options
Diffstat (limited to 'src/TLSSession.h')
| -rw-r--r-- | src/TLSSession.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TLSSession.h b/src/TLSSession.h index 4b430d13..6e8988f2 100644 --- a/src/TLSSession.h +++ b/src/TLSSession.h @@ -56,7 +56,7 @@ public: static TLSSession* make(TLSContext* ctx); // MUST deallocate all resources - virtual ~TLSSession() {} + virtual ~TLSSession() = default; // Initializes SSL/TLS session. The |sockfd| is the underlying // transport socket. This function returns TLS_ERR_OK if it @@ -112,7 +112,7 @@ public: virtual size_t getRecvBufferedLength() = 0; protected: - TLSSession() {} + TLSSession() = default; private: TLSSession(const TLSSession&); |
