From 07f9223daae92ac11be2382ecd0095e744f5695f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Aug 2019 09:32:35 +0200 Subject: loplugin:constvars in i18npool..opencl Change-Id: I82738a18ff116fdc78f07b453c93b1b631632caf Reviewed-on: https://gerrit.libreoffice.org/77775 Tested-by: Jenkins Reviewed-by: Noel Grandin --- opencl/source/opencl_device.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opencl/source') diff --git a/opencl/source/opencl_device.cxx b/opencl/source/opencl_device.cxx index 5350d737f9fb..85a5b3ef6ec9 100644 --- a/opencl/source/opencl_device.cxx +++ b/opencl/source/opencl_device.cxx @@ -460,7 +460,7 @@ void writeDevicesLog(std::unique_ptr const & rProfile, OUString cons int nIndex = 0; - for (ds_device& rDevice : rProfile->devices) + for (const ds_device& rDevice : rProfile->devices) { if (rDevice.eType == DeviceType::OpenCLDevice) { -- cgit