From 61507bde09ac5767a21e26421b433270b5bf5b13 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 25 Aug 2015 11:24:26 -0700 Subject: [PATCH] fix order of member initialization in PacketList --- libraries/networking/src/udt/PacketList.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/networking/src/udt/PacketList.cpp b/libraries/networking/src/udt/PacketList.cpp index b135788985..6dad7e9133 100644 --- a/libraries/networking/src/udt/PacketList.cpp +++ b/libraries/networking/src/udt/PacketList.cpp @@ -26,9 +26,10 @@ PacketList::PacketList(PacketType packetType, QByteArray extendedHeader, bool is } PacketList::PacketList(PacketList&& other) : - _packetType(other._packetType), - _packets(std::move(other._packets)) + _packets(std::move(other._packets)), + _packetType(other._packetType) { + } void PacketList::startSegment() {