diff options
Diffstat (limited to 'opencl/source')
-rw-r--r-- | opencl/source/opencl_device.cxx | 2 | ||||
-rw-r--r-- | opencl/source/openclwrapper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/opencl/source/opencl_device.cxx b/opencl/source/opencl_device.cxx index cfeb290645ea..9dc0130d6bad 100644 --- a/opencl/source/opencl_device.cxx +++ b/opencl/source/opencl_device.cxx @@ -555,7 +555,7 @@ void writeDevicesLog(std::unique_ptr<ds_profile>& rProfile, OUString const & sPr } // end anonymous namespace -ds_device getDeviceSelection( +ds_device const & getDeviceSelection( OUString const & sProfilePath, bool bForceSelection) { /* Run only if device is not yet selected */ diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx index 0dd76e74ba05..32f0e5f4effc 100644 --- a/opencl/source/openclwrapper.cxx +++ b/opencl/source/openclwrapper.cxx @@ -85,7 +85,7 @@ OString generateMD5(const void* pData, size_t length) return aBuffer.makeStringAndClear(); } -OString getCacheFolder() +OString const & getCacheFolder() { static OString aCacheFolder; |