mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Fix compilation on clang 4 and 5
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com> https://github.com/intel/compute-runtime/pull/209 Change-Id: If0cecc836138f038da9dc74cf21c865b61aadddf
This commit is contained in:
committed by
sys_ocldev
parent
dd39251af5
commit
6689f45289
@@ -1441,7 +1441,7 @@ HWTEST_F(DrmCommandStreamHwTest, givenAllocationWithSingleBufferObjectWhenMakeRe
|
||||
|
||||
auto size = 1024u;
|
||||
auto bo = this->createBO(size);
|
||||
BufferObjects bos{bo};
|
||||
BufferObjects bos{{bo}};
|
||||
auto allocation = new DrmAllocation(GraphicsAllocation::AllocationType::UNKNOWN, bos, nullptr, 0u, size, MemoryPool::LocalMemory, false);
|
||||
EXPECT_EQ(bo, allocation->getBO());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user