queue/IdTable: add explicit

This commit is contained in:
Max Kellermann 2023-11-26 08:41:50 +01:00
parent 4d23068c5c
commit 321553d5f9

View File

@ -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 {