diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-10-22 14:51:06 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-10-29 18:40:45 +0000 |
commit | 396b0218cccf9d1d937e8af5156ffd573c07dc16 (patch) | |
tree | 4ef0b337b8bb4b9196f6de16ebc6d5ff8162a954 /src/qml/jsruntime/qv4objectiterator.cpp | |
parent | 58c0be6912f6c7d6daa5665a606457e47b566968 (diff) |
Use the correct macro to detect 64-bit value encoding
We have a macro for it, so let's use it.
Change-Id: I1d0f78915b5942aab07cffff140fa0ac23392362
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4objectiterator.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4objectiterator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectiterator.cpp b/src/qml/jsruntime/qv4objectiterator.cpp index 7f97872092..1413f439b1 100644 --- a/src/qml/jsruntime/qv4objectiterator.cpp +++ b/src/qml/jsruntime/qv4objectiterator.cpp @@ -68,7 +68,7 @@ void ObjectIterator::init(const Object *o) object->setM(o ? o->m() : 0); current->setM(o ? o->m() : 0); -#if QT_POINTER_SIZE == 4 +#ifndef QV4_USE_64_BIT_VALUE_ENCODING object->setTag(QV4::Value::Managed_Type); current->setTag(QV4::Value::Managed_Type); #endif |