From 9ee60319c675087486907707c8a2b18b5c9dc9fc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Oct 2017 11:45:58 +0200 Subject: loplugin:constmethod in idl,helpcompiler Change-Id: I9b328fc0a3ebdd15a646ee6dab800ffbadb1aaef Reviewed-on: https://gerrit.libreoffice.org/44050 Tested-by: Jenkins Reviewed-by: Noel Grandin --- opencl/inc/opencl_device_selection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opencl') 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; } -- cgit