diff --git a/src/queue/IdTable.hxx b/src/queue/IdTable.hxx index 60e184091..5be7c7e4e 100644 --- a/src/queue/IdTable.hxx +++ b/src/queue/IdTable.hxx @@ -46,6 +46,9 @@ public: delete[] data; } + IdTable(const IdTable &) = delete; + IdTable &operator=(const IdTable &) = delete; + int IdToPosition(unsigned id) const noexcept { return id < size ? data[id]