mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Remove copy constructor for GraphicsAllocation
Change-Id: If547a004b6f9e5cadb1f6ba0a0f44c3ac0d1ff0d
This commit is contained in:
committed by
sys_ocldev
parent
eea76094a1
commit
d9dd68a8ef
@@ -61,6 +61,8 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
};
|
||||
|
||||
virtual ~GraphicsAllocation() = default;
|
||||
GraphicsAllocation &operator=(const GraphicsAllocation &) = delete;
|
||||
GraphicsAllocation(const GraphicsAllocation &) = delete;
|
||||
GraphicsAllocation(void *cpuPtrIn, size_t sizeIn) : size(sizeIn),
|
||||
cpuPtr(cpuPtrIn),
|
||||
gpuAddress((uint64_t)cpuPtrIn),
|
||||
|
||||
Reference in New Issue
Block a user