refactor: explicit copy/move operations in OpaqueElementAllocator
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
parent
38a3667304
commit
7744251995
|
@ -203,6 +203,11 @@ class OpaqueElementAllocator final {
|
|||
}
|
||||
}
|
||||
|
||||
OpaqueElementAllocator(OpaqueElementAllocator &&) = default;
|
||||
OpaqueElementAllocator &operator=(OpaqueElementAllocator &&) = default;
|
||||
OpaqueElementAllocator(const OpaqueElementAllocator &) = delete;
|
||||
OpaqueElementAllocator &operator=(const OpaqueElementAllocator &) = delete;
|
||||
|
||||
AllocationT allocate() {
|
||||
for (auto &chunk : chunks) {
|
||||
auto *va = chunk.allocate();
|
||||
|
|
Loading…
Reference in New Issue