Commit 2f32df1f authored by Max Kellermann's avatar Max Kellermann

queue/IdTable: make non-copyable

parent 23adf501
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment