From 38c7daf3039281b78134932a6f7080197bcc12b7 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 24 Apr 2013 14:26:38 +0200 Subject: [PATCH] Fix struct v.s. class forward declarations. Change-Id: I8f7f6282339ca798661e59cef256c305c95f7fe1 Reviewed-by: Lars Knoll --- src/qml/qml/v4vm/qv4executableallocator_p.h | 2 +- src/qml/qml/v4vm/qv4managed_p.h | 2 +- src/qml/qml/v8/qv4domerrors_p.h | 2 +- src/qml/qml/v8/qv4sqlerrors_p.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qml/qml/v4vm/qv4executableallocator_p.h b/src/qml/qml/v4vm/qv4executableallocator_p.h index ff5ea76..0defd98 100644 --- a/src/qml/qml/v4vm/qv4executableallocator_p.h +++ b/src/qml/qml/v4vm/qv4executableallocator_p.h @@ -49,7 +49,7 @@ #include namespace WTF { -struct PageAllocation; +class PageAllocation; }; QT_BEGIN_NAMESPACE diff --git a/src/qml/qml/v4vm/qv4managed_p.h b/src/qml/qml/v4vm/qv4managed_p.h index e8e3f3e..678c034 100644 --- a/src/qml/qml/v4vm/qv4managed_p.h +++ b/src/qml/qml/v4vm/qv4managed_p.h @@ -70,7 +70,7 @@ struct JSONObject; struct ForeachIteratorObject; struct Managed; struct Value; -struct RegExp; +class RegExp; struct Lookup; struct ManagedVTable diff --git a/src/qml/qml/v8/qv4domerrors_p.h b/src/qml/qml/v8/qv4domerrors_p.h index 26cc5fc..7a589ba 100644 --- a/src/qml/qml/v8/qv4domerrors_p.h +++ b/src/qml/qml/v8/qv4domerrors_p.h @@ -84,7 +84,7 @@ QT_BEGIN_NAMESPACE } namespace QV4 { -class ExecutionEngine; +struct ExecutionEngine; } diff --git a/src/qml/qml/v8/qv4sqlerrors_p.h b/src/qml/qml/v8/qv4sqlerrors_p.h index df6a795..0433d53 100644 --- a/src/qml/qml/v8/qv4sqlerrors_p.h +++ b/src/qml/qml/v8/qv4sqlerrors_p.h @@ -66,7 +66,7 @@ QT_BEGIN_NAMESPACE #define SQLEXCEPTION_TIMEOUT_ERR 8 namespace QV4 { -class ExecutionEngine; +struct ExecutionEngine; } void qt_add_sqlexceptions(QV4::ExecutionEngine *engine); -- 2.7.4