mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
fix: Add asserts to ensure NonCopyable and NonMovable n/n
Related-To: NEO-14068 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
aeff5513c3
commit
b60c02d597
@@ -68,6 +68,7 @@ class Context : public BaseObject<_cl_context> {
|
||||
|
||||
const StackVec<NEO::GraphicsAllocation *, 1> &getAllocationsVector();
|
||||
};
|
||||
static_assert(NEO::NonCopyable<AbstractBuffersPool<BufferPool, Buffer, MemObj>>);
|
||||
|
||||
class BufferPoolAllocator : public AbstractBuffersAllocator<BufferPool, Buffer, MemObj> {
|
||||
using BaseType = AbstractBuffersAllocator<BufferPool, Buffer, MemObj>;
|
||||
|
||||
Reference in New Issue
Block a user