Fix make_unique importing

pull/1857/head
myl7 2021-12-06 03:55:47 +08:00
parent 12d419d7fc
commit 60d986873f
No known key found for this signature in database
GPG Key ID: 04F1013B67177C88
1 changed files with 2 additions and 1 deletions

View File

@ -38,13 +38,14 @@
#include <cstring>
#include "SocketCore.h"
#include "a2functional.h"
namespace aria2 {
DHTConnectionSocksProxyImpl::DHTConnectionSocksProxyImpl(int family)
: DHTConnectionImpl(family),
family_(family),
proxySocket_(std::make_unique<SocketCore>())
proxySocket_(make_unique<SocketCore>())
{
}