From 321553d5f96edf9bfaf31b8a8911f8bc8f90656e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Nov 2023 08:41:50 +0100 Subject: [PATCH] queue/IdTable: add `explicit` --- src/queue/IdTable.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/IdTable.hxx b/src/queue/IdTable.hxx index 31a44c846..e18667294 100644 --- a/src/queue/IdTable.hxx +++ b/src/queue/IdTable.hxx @@ -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 {