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];
|
int *const data = new int[size];
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IdTable(unsigned _size) noexcept
|
explicit IdTable(unsigned _size) noexcept
|
||||||
:size(_size) {}
|
:size(_size) {}
|
||||||
|
|
||||||
~IdTable() noexcept {
|
~IdTable() noexcept {
|
||||||
|
Loading…
Reference in New Issue
Block a user