From 05f17e841f971d3c8f635cc044c60c970c2055c9 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 4 Apr 2014 12:22:00 +0200 Subject: 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 --- src/qml/jsruntime/qv4regexpobject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/jsruntime/qv4regexpobject.cpp') diff --git a/src/qml/jsruntime/qv4regexpobject.cpp b/src/qml/jsruntime/qv4regexpobject.cpp index a173dbcf2a..7a7666b89d 100644 --- a/src/qml/jsruntime/qv4regexpobject.cpp +++ b/src/qml/jsruntime/qv4regexpobject.cpp @@ -69,7 +69,7 @@ Q_CORE_EXPORT QString qt_regexp_toCanonical(const QString &, QRegExp::PatternSyn using namespace QV4; -DEFINE_OBJECT_VTABLE_NO_DESTROY(RegExpObject); +DEFINE_OBJECT_VTABLE(RegExpObject); RegExpObject::RegExpObject(InternalClass *ic) : Object(ic) @@ -226,7 +226,7 @@ uint RegExpObject::flags() const return f; } -DEFINE_OBJECT_VTABLE_NO_DESTROY(RegExpCtor); +DEFINE_OBJECT_VTABLE(RegExpCtor); RegExpCtor::RegExpCtor(ExecutionContext *scope) : FunctionObject(scope, QStringLiteral("RegExp")) -- cgit v1.2.3