mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
fix mismatched-new-delete when using unique_ptr
Related-To: NEO-6511 Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
dcea913fbc
commit
31d68c42e6
@@ -157,10 +157,10 @@ TEST(CompilerCacheHashTests, GivenCompilingOptionsWhenGettingCacheThenCorrectCac
|
||||
std::string("--some --options"),
|
||||
std::string("--some --different --options")}};
|
||||
|
||||
std::unique_ptr<char> buf1(new char[bufSize]);
|
||||
std::unique_ptr<char> buf2(new char[bufSize]);
|
||||
std::unique_ptr<char> buf3(new char[bufSize]);
|
||||
std::unique_ptr<char> buf4(new char[bufSize]);
|
||||
std::unique_ptr<char[]> buf1(new char[bufSize]);
|
||||
std::unique_ptr<char[]> buf2(new char[bufSize]);
|
||||
std::unique_ptr<char[]> buf3(new char[bufSize]);
|
||||
std::unique_ptr<char[]> buf4(new char[bufSize]);
|
||||
|
||||
ArrayRef<char> src;
|
||||
ArrayRef<char> apiOptions;
|
||||
|
||||
Reference in New Issue
Block a user