Merge pull request #14723 from SimonWalton-HiFi/connection-parented-to-socket

Make Connection class a Qt-child of Socket class
This commit is contained in:
Shannon Romano 2019-01-17 15:35:29 -08:00 committed by GitHub
commit 0370268f56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,7 @@ using namespace udt;
using namespace std::chrono;
Connection::Connection(Socket* parentSocket, HifiSockAddr destination, std::unique_ptr<CongestionControl> congestionControl) :
QObject(parentSocket),
_parentSocket(parentSocket),
_destination(destination),
_congestionControl(move(congestionControl))