summaryrefslogtreecommitdiff
path: root/opencl/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-28 17:56:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-29 16:42:33 +0100
commit042033f1e6da22616cb76c8d950c20c9efecbad5 (patch)
tree26b3f1f42d067506f44550b410f3fb9640616a5b /opencl/inc
parentccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (diff)
loplugin:stringviewparam: operator +
Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'opencl/inc')
-rw-r--r--opencl/inc/opencl_device.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/opencl/inc/opencl_device.hxx b/opencl/inc/opencl_device.hxx
index 69a9cbbc9c1a..036a06fb2736 100644
--- a/opencl/inc/opencl_device.hxx
+++ b/opencl/inc/opencl_device.hxx
@@ -10,6 +10,10 @@
#ifndef INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
#define INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include <rtl/ustring.hxx>
namespace openclwrapper
@@ -18,7 +22,7 @@ struct GPUEnv;
}
struct ds_device;
-ds_device const& getDeviceSelection(OUString const& pFileName, bool bForceSelection);
+ds_device const& getDeviceSelection(std::u16string_view pFileName, bool bForceSelection);
void releaseOpenCLEnv(openclwrapper::GPUEnv* gpuInfo);