mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 21:02:17 +02:00
Pass udt::Socket pointer in initializer-list for udt::Connection
This commit is contained in:
parent
fd09180776
commit
b53fcb2c3d
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ using namespace std::chrono;
|
|||
Connection::Connection(Socket* parentSocket, HifiSockAddr destination, std::unique_ptr<CongestionControl> congestionControl) :
|
||||
_parentSocket(parentSocket),
|
||||
_destination(destination),
|
||||
_congestionControl(move(congestionControl))
|
||||
_congestionControl(move(congestionControl)),
|
||||
QObject(parentSocket)
|
||||
{
|
||||
Q_ASSERT_X(parentSocket, "Connection::Connection", "Must be called with a valid Socket*");
|
||||
|
||||
|
|
Loading…
Reference in a new issue