File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3423,7 +3423,7 @@ class __SYCL_EXPORT handler {
34233423 uint64_t SignalValue);
34243424
34253425private:
3426- std::unique_ptr <detail::handler_impl> MImplOwner;
3426+ std::shared_ptr <detail::handler_impl> MImplOwner;
34273427 detail::handler_impl *impl;
34283428 std::shared_ptr<detail::queue_impl> &MQueue;
34293429 std::vector<detail::LocalAccessorImplPtr> MLocalAccStorage;
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ fill_copy_args(detail::handler_impl *impl,
304304
305305handler::handler (std::shared_ptr<detail::queue_impl> &Queue,
306306 bool CallerNeedsEvent)
307- : MImplOwner(std::make_unique <detail::handler_impl>(Queue.get(), nullptr ,
307+ : MImplOwner(std::make_shared <detail::handler_impl>(Queue.get(), nullptr ,
308308 CallerNeedsEvent)),
309309 impl (MImplOwner.get()), MQueue(Queue) {}
310310
You can’t perform that action at this time.
0 commit comments