aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-04-04 12:22:00 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-07-22 13:48:54 +0200
commit05f17e841f971d3c8f635cc044c60c970c2055c9 (patch)
tree0eaf8348ef9d9b25c050527ec6c7de8aac9a56ea /tools
parentc2ef5bff232f758716f1665e5d9d9b9b2f20385d (diff)
Get rid of different macros for vtable specializations
Detect existence of a a vtable entry at compile time. Change-Id: Ieed5d34b063184bc4435b22c6685ac0e3fabf493 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmljs/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmljs/main.cpp b/tools/qmljs/main.cpp
index 26376faa69..aaddfbf904 100644
--- a/tools/qmljs/main.cpp
+++ b/tools/qmljs/main.cpp
@@ -90,7 +90,7 @@ struct Print: FunctionObject
}
};
-DEFINE_OBJECT_VTABLE_NO_DESTROY(Print);
+DEFINE_OBJECT_VTABLE(Print);
struct GC: public FunctionObject
{
@@ -107,7 +107,7 @@ struct GC: public FunctionObject
}
};
-DEFINE_OBJECT_VTABLE_NO_DESTROY(GC);
+DEFINE_OBJECT_VTABLE(GC);
} // builtins