From 20b0f4f3d10b3621d283ea21c2aeaadfa011ed68 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 7 Jul 2015 16:15:59 -0700 Subject: [PATCH] force the unordered PacketList --- libraries/networking/src/PacketList.cpp | 3 +-- libraries/networking/src/PacketList.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/networking/src/PacketList.cpp b/libraries/networking/src/PacketList.cpp index 9d19b3604f..01d4c61089 100644 --- a/libraries/networking/src/PacketList.cpp +++ b/libraries/networking/src/PacketList.cpp @@ -12,8 +12,7 @@ #include "PacketList.h" PacketList::PacketList(PacketType::Value packetType) : - _packetType(packetType), - _isOrdered(false) + _packetType(packetType) { } diff --git a/libraries/networking/src/PacketList.h b/libraries/networking/src/PacketList.h index b3691af395..e03e152532 100644 --- a/libraries/networking/src/PacketList.h +++ b/libraries/networking/src/PacketList.h @@ -37,7 +37,7 @@ private: std::unique_ptr createPacketWithExtendedHeader(); PacketType::Value _packetType; - bool isOrdered; + bool isOrdered = false; std::unique_ptr _currentPacket; std::list> _packets;