From dc35f2592654166ab293c1315f47cec9d2384ed5 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 20 Oct 2018 21:03:02 +0200 Subject: 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 --- include/opencl/openclconfig.hxx | 4 +++- include/opencl/openclwrapper.hxx | 8 +++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include') 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 #include -#include #include +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 #include #include -#include #include -#include -#include -#include +#include #define MAX_CLFILE_NUM 50 #define OPENCL_CMDQUEUE_SIZE 1 // number of command queues per OpenCL device. #include +struct OpenCLPlatformInfo; + namespace openclwrapper { -- cgit