diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-04-04 12:22:00 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-07-22 13:48:54 +0200 |
commit | 05f17e841f971d3c8f635cc044c60c970c2055c9 (patch) | |
tree | 0eaf8348ef9d9b25c050527ec6c7de8aac9a56ea /src/qml/jsruntime/qv4stringobject.cpp | |
parent | c2ef5bff232f758716f1665e5d9d9b9b2f20385d (diff) | |
download | qtdeclarative-05f17e841f971d3c8f635cc044c60c970c2055c9.tar.gz |
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 'src/qml/jsruntime/qv4stringobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4stringobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4stringobject.cpp b/src/qml/jsruntime/qv4stringobject.cpp index 5385a7618c..f1e51703a8 100644 --- a/src/qml/jsruntime/qv4stringobject.cpp +++ b/src/qml/jsruntime/qv4stringobject.cpp @@ -75,7 +75,7 @@ using namespace QV4; -DEFINE_OBJECT_VTABLE_NO_DESTROY(StringObject); +DEFINE_OBJECT_VTABLE(StringObject); StringObject::StringObject(InternalClass *ic) : Object(ic) @@ -171,7 +171,7 @@ void StringObject::markObjects(Managed *that, ExecutionEngine *e) Object::markObjects(that, e); } -DEFINE_OBJECT_VTABLE_NO_DESTROY(StringCtor); +DEFINE_OBJECT_VTABLE(StringCtor); StringCtor::StringCtor(ExecutionContext *scope) : FunctionObject(scope, QStringLiteral("String")) |