diff --git a/sycl/source/detail/event_impl.cpp b/sycl/source/detail/event_impl.cpp index a09d0393b9d30..21ff7ed8b4404 100644 --- a/sycl/source/detail/event_impl.cpp +++ b/sycl/source/detail/event_impl.cpp @@ -155,8 +155,8 @@ event_impl::event_impl(sycl::detail::pi::PiEvent Event, } event_impl::event_impl(const QueueImplPtr &Queue) - : MQueue{Queue}, MIsProfilingEnabled{Queue->is_host() || - Queue->MIsProfilingEnabled}, + : MQueue{Queue}, + MIsProfilingEnabled{Queue->is_host() || Queue->MIsProfilingEnabled}, MFallbackProfiling{MIsProfilingEnabled && Queue->isProfilingFallback()} { this->setContextImpl(Queue->getContextImplPtr()); if (Queue->is_host()) {