summaryrefslogtreecommitdiffstats
path: root/src/opencl/qclevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opencl/qclevent.h')
-rw-r--r--src/opencl/qclevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opencl/qclevent.h b/src/opencl/qclevent.h
index 57aeeca..55f8348 100644
--- a/src/opencl/qclevent.h
+++ b/src/opencl/qclevent.h
@@ -52,6 +52,8 @@ QT_BEGIN_NAMESPACE
QT_MODULE(CL)
+class QCLUserEvent;
+
class Q_CL_EXPORT QCLEvent
{
public:
@@ -92,6 +94,8 @@ public:
private:
cl_event m_id;
+
+ friend class QCLUserEvent;
};
class Q_CL_EXPORT QCLEventList