Fixed Linux compilation.
std::make_unique is not available in C++11.
This commit is contained in:
parent
16636ff6e2
commit
505dce1fc3
@ -206,7 +206,7 @@ AString cLuaTCPLink::StartTLSClient(
|
||||
}
|
||||
|
||||
// Create the SSL context:
|
||||
m_SslContext = std::make_unique<cLinkSslContext>(*this);
|
||||
m_SslContext.reset(new cLinkSslContext(*this));
|
||||
m_SslContext->Initialize(true);
|
||||
|
||||
// Create the peer cert, if required:
|
||||
|
Loading…
x
Reference in New Issue
Block a user