From ed3589e3300cfaccbf16f56c9488a41113961d33 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Tue, 24 Sep 2024 09:33:45 -0700 Subject: [PATCH] Apply review comments --- sycl/include/sycl/handler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/include/sycl/handler.hpp b/sycl/include/sycl/handler.hpp index 96ee4f5a28d94..f6e76ea857475 100644 --- a/sycl/include/sycl/handler.hpp +++ b/sycl/include/sycl/handler.hpp @@ -794,8 +794,8 @@ class __SYCL_EXPORT handler { detail::KernelLambdaHasKernelHandlerArgT::value; - MHostKernel.reset( - new detail::HostKernel(KernelFunc)); + MHostKernel = std::make_unique< + detail::HostKernel>(KernelFunc); constexpr bool KernelHasName = detail::getKernelName() != nullptr &&