summaryrefslogtreecommitdiff
path: root/opencl/inc/opencl_device_selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'opencl/inc/opencl_device_selection.h')
-rw-r--r--opencl/inc/opencl_device_selection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h
index 79f88894c378..761a79647faa 100644
--- a/opencl/inc/opencl_device_selection.h
+++ b/opencl/inc/opencl_device_selection.h
@@ -401,7 +401,7 @@ public:
}
};
-inline ds_status writeProfile(const OUString& rStreamName, std::unique_ptr<ds_profile>& pProfile)
+inline ds_status writeProfile(const OUString& rStreamName, std::unique_ptr<ds_profile> const & pProfile)
{
if (pProfile == nullptr)
return DS_INVALID_PROFILE;
@@ -470,7 +470,7 @@ inline ds_status writeProfile(const OUString& rStreamName, std::unique_ptr<ds_pr
return DS_SUCCESS;
}
-inline ds_status readProfile(const OUString& rStreamName, std::unique_ptr<ds_profile>& pProfile)
+inline ds_status readProfile(const OUString& rStreamName, std::unique_ptr<ds_profile> const & pProfile)
{
ds_status eStatus = DS_SUCCESS;