]> git.tdb.fi Git - libs/net.git/commit
Use a static local variable for assigning packet IDs
authorMikko Rasa <tdb@tdb.fi>
Fri, 9 Dec 2022 21:00:40 +0000 (23:00 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 9 Dec 2022 21:00:40 +0000 (23:00 +0200)
commitee01d294f9078fbf17dc6a0a645ad3a342c49b1a
tree420ef9109bf4f2ee82c8a1dc10644f6628c43278
parentb91b37fd6534a8e546fd6f5d6ddd91d66cd0519f
Use a static local variable for assigning packet IDs

This avoids the need of a definition for the static member variable of
a template class.
source/net/communicator.cpp
source/net/protocol.cpp
source/net/protocol.h
source/net/protocol_impl.h