From a2d03114d34289420fa3a211ce35d488bc899ff4 Mon Sep 17 00:00:00 2001 From: Alexander Batashev Date: Thu, 29 Apr 2021 10:18:23 +0300 Subject: [PATCH] [SYCL] Fix -Wrange-loop-construct warning --- sycl/source/detail/kernel_bundle_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/source/detail/kernel_bundle_impl.hpp b/sycl/source/detail/kernel_bundle_impl.hpp index 4c7351db2940d..7f8886f8b3b27 100644 --- a/sycl/source/detail/kernel_bundle_impl.hpp +++ b/sycl/source/detail/kernel_bundle_impl.hpp @@ -270,7 +270,7 @@ class kernel_bundle_impl { &SpecConsts = ImgImpl->get_spec_const_data_ref(); const std::vector &Blob = ImgImpl->get_spec_const_blob_ref(); - for (const std::pair> &SpecConst : SpecConsts) { if (SpecConst.second.front().IsSet)