diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-10-20 21:03:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-10-24 13:29:40 +0200 |
commit | dc35f2592654166ab293c1315f47cec9d2384ed5 (patch) | |
tree | 93d2d17354edf256b7a334e99e1bba869789bdd5 /include/opencl | |
parent | db0051744330d82986e8f2629a027bc4a5dc1b4a (diff) |
tdf#42949 Fix IWYU warnings in include/opencl/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I76f15a8e7724384e8ba773621bdcac1351b32a0a
Reviewed-on: https://gerrit.libreoffice.org/62086
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include/opencl')
-rw-r--r-- | include/opencl/openclconfig.hxx | 4 | ||||
-rw-r--r-- | include/opencl/openclwrapper.hxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/opencl/openclconfig.hxx b/include/opencl/openclconfig.hxx index e5fd6dd00305..c7a188a73203 100644 --- a/include/opencl/openclconfig.hxx +++ b/include/opencl/openclconfig.hxx @@ -14,9 +14,11 @@ #include <set> #include <opencl/opencldllapi.h> -#include <opencl/platforminfo.hxx> #include <rtl/ustring.hxx> +struct OpenCLDeviceInfo; +struct OpenCLPlatformInfo; + struct OPENCL_DLLPUBLIC OpenCLConfig { struct ImplMatcher diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx index 1b5ac674a01c..67dfc8798416 100644 --- a/include/opencl/openclwrapper.hxx +++ b/include/opencl/openclwrapper.hxx @@ -10,22 +10,20 @@ #ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OPENCLWRAPPER_HXX #define INCLUDED_SC_SOURCE_CORE_OPENCL_OPENCLWRAPPER_HXX -#include <cassert> #include <vector> #include <clew/clew.h> -#include <sal/detail/log.h> #include <opencl/opencldllapi.h> -#include <opencl/platforminfo.hxx> -#include <osl/file.hxx> -#include <rtl/string.hxx> +#include <rtl/ustring.hxx> #define MAX_CLFILE_NUM 50 #define OPENCL_CMDQUEUE_SIZE 1 // number of command queues per OpenCL device. #include <cstdio> +struct OpenCLPlatformInfo; + namespace openclwrapper { |