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:
Pawel Cieslak
2023-02-14 00:47:39 +00:00
committed by Compute-Runtime-Automation
parent dcea913fbc
commit 31d68c42e6
7 changed files with 24 additions and 24 deletions

View File

@@ -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;