summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
Diffstat (limited to 'opencl')
-rw-r--r--opencl/inc/opencl_device_selection.h2
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;
}