summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket.h')
-rw-r--r--source/packets/cPacket.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h
index bc0f052e8..580cd6771 100644
--- a/source/packets/cPacket.h
+++ b/source/packets/cPacket.h
@@ -52,15 +52,6 @@ public:
return PACKET_ERROR;
}
- /// Called to serialize the packet into a string. Append all packet data to a_Data, including the packet type!
- virtual void Serialize(AString & a_Data) const
- {
- // There are packets that are sent C->S only, those don't have a serializing function
- UNUSED(a_Data);
- LOGERROR("Packet type 0x%02x has no serializer defined!", m_PacketID);
- ASSERT(!"Unserialized packet");
- }
-
virtual cPacket * Clone() const = 0;
unsigned char m_PacketID;