mirror of https://github.com/aria2/aria2
Fix make_unique importing
parent
12d419d7fc
commit
60d986873f
|
@ -38,13 +38,14 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#include "SocketCore.h"
|
#include "SocketCore.h"
|
||||||
|
#include "a2functional.h"
|
||||||
|
|
||||||
namespace aria2 {
|
namespace aria2 {
|
||||||
|
|
||||||
DHTConnectionSocksProxyImpl::DHTConnectionSocksProxyImpl(int family)
|
DHTConnectionSocksProxyImpl::DHTConnectionSocksProxyImpl(int family)
|
||||||
: DHTConnectionImpl(family),
|
: DHTConnectionImpl(family),
|
||||||
family_(family),
|
family_(family),
|
||||||
proxySocket_(std::make_unique<SocketCore>())
|
proxySocket_(make_unique<SocketCore>())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue