Skip to content

Commit ccac964

Browse files
committed
Remove a compile time macro from public API headers
1 parent d42afac commit ccac964

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

trantor/net/TcpClient.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,8 @@ class TRANTOR_EXPORT TcpClient : NonCopyable
229229
TcpConnectionPtr connection_; // @GuardedBy mutex_
230230
std::shared_ptr<SSLContext> sslCtxPtr_;
231231
std::string SSLHostName_;
232-
233-
// This member variable is only needed when using OpenSSL, so
234-
// we can safely remove it when not using OpenSSL.
235-
#ifdef USE_OPENSSL
236232
bool validateCert_{false};
237-
#endif
233+
238234
#ifndef _WIN32
239235
class IgnoreSigPipe
240236
{

0 commit comments

Comments
 (0)