summaryrefslogtreecommitdiff
path: root/opencl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 09:32:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 12:04:41 +0200
commit07f9223daae92ac11be2382ecd0095e744f5695f (patch)
tree553f162c88e1d30dd7946daf62c0db7acb9a0469 /opencl/source
parent6fea13e7a10272922ffdf74b65add10ecf8cec38 (diff)
loplugin:constvars in i18npool..opencl
Change-Id: I82738a18ff116fdc78f07b453c93b1b631632caf Reviewed-on: https://gerrit.libreoffice.org/77775 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'opencl/source')
-rw-r--r--opencl/source/opencl_device.cxx2
1 files changed, 1 insertions, 1 deletions
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<ds_profile> 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)
{