mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Change member-initializer order to fix warnings
This commit is contained in:
parent
b53fcb2c3d
commit
024cb70fce
1 changed files with 2 additions and 2 deletions
|
@ -31,10 +31,10 @@ 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)),
|
||||
QObject(parentSocket)
|
||||
_congestionControl(move(congestionControl))
|
||||
{
|
||||
Q_ASSERT_X(parentSocket, "Connection::Connection", "Must be called with a valid Socket*");
|
||||
|
||||
|
|
Loading…
Reference in a new issue