mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Use make_unique in sharings
Change-Id: If4fa5e748d673dedf85bc96d4311fcaf8c88a64e Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9bb625185f
commit
ff0d1327f0
@@ -13,7 +13,7 @@
|
||||
namespace NEO {
|
||||
|
||||
std::unique_ptr<SharingFactory> SharingFactory::build() {
|
||||
std::unique_ptr<SharingFactory> res(new SharingFactory());
|
||||
auto res = std::make_unique<SharingFactory>();
|
||||
|
||||
for (auto &builder : sharingContextBuilder) {
|
||||
if (builder == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user