force the unordered PacketList

This commit is contained in:
Stephen Birarda 2015-07-07 16:15:59 -07:00
parent 191ede4675
commit 20b0f4f3d1
2 changed files with 2 additions and 3 deletions

View file

@ -12,8 +12,7 @@
#include "PacketList.h"
PacketList::PacketList(PacketType::Value packetType) :
_packetType(packetType),
_isOrdered(false)
_packetType(packetType)
{
}

View file

@ -37,7 +37,7 @@ private:
std::unique_ptr<NLPacket> createPacketWithExtendedHeader();
PacketType::Value _packetType;
bool isOrdered;
bool isOrdered = false;
std::unique_ptr<T> _currentPacket;
std::list<std::unique_ptr<T>> _packets;