aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4managed_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-04-30 20:50:42 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-07-22 13:49:10 +0200
commitd44cac4028df512b37b161e9f3fc9f7ba1c504bc (patch)
tree2ac4f9c95095863928faf450d9e48d1b3c7c7d87 /src/qml/jsruntime/qv4managed_p.h
parent38b58be83a5cbc65f9c3d7e3d14788e7d6837d7d (diff)
Rename V4_OBJECT_NEW back to V4_OBJECT
The _NEW variant was there only temporarily to aid converting to the new data layout. Change-Id: I1d126ee0999c8f0a49f5a08c2e8c090497dd6dd5 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4managed_p.h')
-rw-r--r--src/qml/jsruntime/qv4managed_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4managed_p.h b/src/qml/jsruntime/qv4managed_p.h
index e6fdeee598..a491db69be 100644
--- a/src/qml/jsruntime/qv4managed_p.h
+++ b/src/qml/jsruntime/qv4managed_p.h
@@ -77,9 +77,6 @@ inline void qYouForgotTheQ_MANAGED_Macro(T1, T2) {}
static inline const QV4::ManagedVTable *staticVTable() { return &static_vtbl.managedVTable; } \
template <typename T> \
QV4::Returned<T> *asReturned() { return QV4::Returned<T>::create(this); } \
-
-#define V4_OBJECT_NEW \
- V4_OBJECT \
void __dataTest() { Q_STATIC_ASSERT(sizeof(*this) == sizeof(Data)); } \
const Data *d() const { return &static_cast<const Data &>(Managed::data); } \
Data *d() { return &static_cast<Data &>(Managed::data); }