From 361c5ea65caefa44582a80aebff2a2b207d3d0f6 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 7 Feb 2013 16:14:44 +0100 Subject: Fix exports in v4 binary Don't use the export macro on internal debug classes. Change-Id: Id2f8069cc8b6703a3fafd3058524d46252eb57f8 Reviewed-by: Lars Knoll --- tools/v4/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/v4/main.cpp b/tools/v4/main.cpp index 0d215b9e..25ebc5c5 100644 --- a/tools/v4/main.cpp +++ b/tools/v4/main.cpp @@ -72,7 +72,7 @@ namespace builtins { using namespace QQmlJS::VM; -struct Q_V4_EXPORT Print: FunctionObject +struct Print: FunctionObject { Print(ExecutionContext *scope): FunctionObject(scope) { name = scope->engine->newString("print"); @@ -91,7 +91,7 @@ struct Q_V4_EXPORT Print: FunctionObject } }; -struct Q_V4_EXPORT TestHarnessError: FunctionObject +struct TestHarnessError: FunctionObject { TestHarnessError(ExecutionContext *scope, bool &errorInTestHarness): FunctionObject(scope), errorOccurred(errorInTestHarness) { name = scope->engine->newString("$ERROR"); @@ -114,7 +114,7 @@ struct Q_V4_EXPORT TestHarnessError: FunctionObject bool &errorOccurred; }; -struct Q_V4_EXPORT GC: public FunctionObject +struct GC: public FunctionObject { GC(ExecutionContext* scope) : FunctionObject(scope) -- cgit v1.2.3