Remove copy constructor for GraphicsAllocation

Change-Id: If547a004b6f9e5cadb1f6ba0a0f44c3ac0d1ff0d
This commit is contained in:
Dunajski, Bartosz
2018-03-01 10:08:20 +01:00
committed by sys_ocldev
parent eea76094a1
commit d9dd68a8ef
8 changed files with 92 additions and 103 deletions

View File

@@ -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),