diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qmlvme_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlvme_p.h b/src/declarative/qml/qmlvme_p.h index 49b439b..a61d05a 100644 --- a/src/declarative/qml/qmlvme_p.h +++ b/src/declarative/qml/qmlvme_p.h @@ -81,12 +81,12 @@ public: private: void realloc() { - maxSize += N; - if (data != fixedData) { - data = (T*)qRealloc(data, maxSize * sizeof(T)); - } else { - data = (T*)qMalloc(maxSize * sizeof(T)); - } + maxSize += N; + if (data != fixedData) { + data = (T*)qRealloc(data, maxSize * sizeof(T)); + } else { + data = (T*)qMalloc(maxSize * sizeof(T)); + } } int index; int maxSize; |