Move the definition of PacketTypeDef<T>::class_id to a separate header
[libs/net.git] / source / net / protocol.h
index 7ff63cb1e7dd12cc2a8fb3e9ba1e092062bcc754..05ea60e2f13232305a0ca18c9b50850db25e013c 100644 (file)
@@ -455,9 +455,6 @@ const char *Protocol::Serializer<P, Head, S>::deserialize(P &pkt, const char *bu
 }
 
 
-template<typename P>
-unsigned Protocol::PacketTypeDef<P>::class_id = 0;
-
 template<typename P>
 Protocol::PacketTypeDef<P>::PacketTypeDef(unsigned i):
        PacketDefBase(i),