rename setType implementation in Packet

This commit is contained in:
Stephen Birarda 2015-07-08 14:33:08 -07:00
parent 822dd46228
commit 59484fc3cf

View file

@ -102,7 +102,7 @@ Packet& Packet::operator=(Packet&& other) {
return *this;
}
void Packet::setPacketType(PacketType::Value type) {
void Packet::setType(PacketType::Value type) {
auto currentHeaderSize = totalHeadersSize();
_type = type;
writePacketTypeAndVersion(_type);