queue/IdTable: make size const

This commit is contained in:
Max Kellermann 2021-11-19 15:51:04 +01:00
parent bdd268a524
commit ead5bcf048

View File

@ -29,7 +29,7 @@
* A table that maps id numbers to position numbers. * A table that maps id numbers to position numbers.
*/ */
class IdTable { class IdTable {
unsigned size; const unsigned size;
unsigned next; unsigned next;