]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/protocol_impl.h
Use a static local variable for assigning packet IDs
[libs/net.git] / source / net / protocol_impl.h
index 9ddf818853c1710b195e3cfeb512d7fb50aaa6a6..4eb28612ded0cfdbb549e79010fb3723c55e56b2 100644 (file)
@@ -1,15 +1,6 @@
 #ifndef MSP_NET_PROTOCOL_IMPL_H_
 #define MSP_NET_PROTOCOL_IMPL_H_
 
-#include "protocol.h"
-
-namespace Msp {
-namespace Net {
-
-template<typename P>
-unsigned Protocol::PacketTypeDef<P>::class_id = 0;
-
-} // namespace Net
-} // namespace Msp
+#warning "This header is deprected and should not be used"
 
 #endif