queue/IdTable: add `explicit`

This commit is contained in:
Max Kellermann 2023-11-26 08:41:50 +01:00
parent 4d23068c5c
commit 321553d5f9
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class IdTable {
int *const data = new int[size];
public:
IdTable(unsigned _size) noexcept
explicit IdTable(unsigned _size) noexcept
:size(_size) {}
~IdTable() noexcept {