]> git.tdb.fi Git - libs/net.git/commitdiff
Move the definition of PacketTypeDef<T>::class_id to a separate header
authorMikko Rasa <tdb@tdb.fi>
Tue, 1 Nov 2016 22:00:55 +0000 (00:00 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 1 Nov 2016 22:00:55 +0000 (00:00 +0200)
Defining it in protocol.h may cause multiple definitions to appear across
the program and there are cases where they don't get collapsed to one.
DLLs on Windows are one such case.  The _impl header is to be included in
files that add packet definitions to a protocol and nowhere else.


No differences found