Make QueueDataSize constexpr.

This commit is contained in:
Bartosz Taudul 2020-01-06 15:16:27 +01:00
parent 25082b2bec
commit cb501298b5

View File

@ -423,7 +423,7 @@ struct QueueItem
enum { QueueItemSize = sizeof( QueueItem ) };
static const size_t QueueDataSize[] = {
static constexpr size_t QueueDataSize[] = {
sizeof( QueueHeader ) + sizeof( QueueZoneText ),
sizeof( QueueHeader ) + sizeof( QueueZoneText ), // zone name
sizeof( QueueHeader ) + sizeof( QueueMessage ),