diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2011-10-31 15:30:20 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-10 14:43:15 +0100 |
commit | cb0cdf6c0835c7cdff341c285cd0708aa2f4cb0f (patch) | |
tree | bb7c20f588a0577ce4e9b5ad62ee5858e6cbbc63 /src/corelib/tools/qvector.cpp | |
parent | f1e48d48fd58b28b1dc18652af3fc74da5e112fd (diff) |
Use RefCount::setSharable feature in QVector
Note: This constitutes a break in Binary Compatibility.
Change-Id: I050587901725b701f20dd46475ae48aec28aa54d
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/corelib/tools/qvector.cpp')
-rw-r--r-- | src/corelib/tools/qvector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qvector.cpp b/src/corelib/tools/qvector.cpp index 95ae76eb1e..d4c7fd79f7 100644 --- a/src/corelib/tools/qvector.cpp +++ b/src/corelib/tools/qvector.cpp @@ -52,7 +52,7 @@ static inline int alignmentThreshold() return 2 * sizeof(void*); } -const QVectorData QVectorData::shared_null = { Q_REFCOUNT_INITIALIZE_STATIC, 0, 0, true, false, 0 }; +const QVectorData QVectorData::shared_null = { Q_REFCOUNT_INITIALIZE_STATIC, 0, 0, false, 0 }; QVectorData *QVectorData::malloc(int sizeofTypedData, int size, int sizeofT, QVectorData *init) { |