Skip to content
Snippets Groups Projects
Unverified Commit 0d704562 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: fix build for ubuntu 16.04

Change-Id: Ifee9830bf4a4ef8924cef33a60d7741299381413
parent 0a2f9561
Branches
No related tags found
No related merge requests found
......@@ -470,8 +470,8 @@ ConnectionManager::Impl::onDhtPeerRequest(const PeerConnectionRequest& req, cons
return;
}
auto certToDev = std::pair<std::shared_ptr<dht::crypto::Certificate>, dht::InfoHash>(cert, deviceId);
certMap_.emplace(cert->getId(), std::move(certToDev));
auto crt = cert; // This copy the shared_ptr for gcc 6
certMap_.emplace(cert->getId(), std::make_pair(crt, dht::InfoHash(deviceId)));
// Because the connection is accepted, create an ICE socket.
auto &iceTransportFactory = Manager::instance().getIceTransportFactory();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment