Skip to content

Commit 2c972db

Browse files
authored
Fix an compilation error when no STL lib is found (#293)
1 parent 528406f commit 2c972db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/net/inner/TcpConnectionImpl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ SSLContextPtr trantor::newSSLContext(const TLSPolicy &policy, bool isServer)
12731273
throw std::runtime_error("SSL is not supported");
12741274
}
12751275

1276-
std::unique_ptr<TLSProvider> trantor::newTLSProvider(TcpConnection *conn,
1276+
std::shared_ptr<TLSProvider> trantor::newTLSProvider(TcpConnection *conn,
12771277
TLSPolicyPtr policy,
12781278
SSLContextPtr sslContext)
12791279
{

0 commit comments

Comments
 (0)