queue/IdTable: make non-copyable
This commit is contained in:
parent
23adf50194
commit
2f32df1f09
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user