queue/IdTable: add `explicit`
This commit is contained in:
parent
4d23068c5c
commit
321553d5f9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue