diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-30 11:45:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-30 13:06:54 +0100 |
commit | 9ee60319c675087486907707c8a2b18b5c9dc9fc (patch) | |
tree | d4accdcfe604efa91518f37a1283ea436ecc65b7 /opencl | |
parent | 4eec79bb376b64a9a90de4b6540c90776d3dba32 (diff) |
loplugin:constmethod in idl,helpcompiler
Change-Id: I9b328fc0a3ebdd15a646ee6dab800ffbadb1aaef
Reviewed-on: https://gerrit.libreoffice.org/44050
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/inc/opencl_device_selection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h index 761a79647faa..54caf183f2aa 100644 --- a/opencl/inc/opencl_device_selection.h +++ b/opencl/inc/opencl_device_selection.h @@ -395,7 +395,7 @@ public: mpCurrent = mpCurrent->next; } - bool isValid() + bool isValid() const { return mpCurrent != nullptr; } |