From 024cb70fce051d76fdb3c90f0a9cd2b4c76d39b7 Mon Sep 17 00:00:00 2001 From: Simon Walton Date: Wed, 16 Jan 2019 12:58:13 -0800 Subject: [PATCH] Change member-initializer order to fix warnings --- libraries/networking/src/udt/Connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/networking/src/udt/Connection.cpp b/libraries/networking/src/udt/Connection.cpp index e54e1396fd..7ab2296935 100644 --- a/libraries/networking/src/udt/Connection.cpp +++ b/libraries/networking/src/udt/Connection.cpp @@ -31,10 +31,10 @@ using namespace udt; using namespace std::chrono; Connection::Connection(Socket* parentSocket, HifiSockAddr destination, std::unique_ptr 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*");