From 68cdde768251dc7c346b9247303b526d176db7f6 Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Fri, 22 May 2026 18:52:54 +0200 Subject: [PATCH] [SYCL] Coverity: remove redundant move This device_image_impl constructor accepts context by const ref. Makes no sense to move. --- sycl/source/detail/device_image_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/source/detail/device_image_impl.hpp b/sycl/source/detail/device_image_impl.hpp index e033b4b35f9d3..77717d1c8771d 100644 --- a/sycl/source/detail/device_image_impl.hpp +++ b/sycl/source/detail/device_image_impl.hpp @@ -329,7 +329,7 @@ class device_image_impl device_image_impl(const std::string &Src, const context &Context, devices_range Devices, syclex::source_language Lang, include_pairs_t &&IncludePairsVec, private_tag) - : MBinImage(Src), MContext(std::move(Context)), + : MBinImage(Src), MContext(Context), MDevices(Devices.to>()), MState(bundle_state::ext_oneapi_source), MSpecConstsDefValBlob(getSpecConstsDefValBlob()),