summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qvector.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-11-13 09:19:06 +0100
committerThiago Macieira <thiago.macieira@nokia.com>2009-11-13 15:26:22 +0100
commit7ddfd25fd8642c0b61e3cfbc4408c2ce4a664fc1 (patch)
tree44ea622d0a879e8d8f010ad5e8fd1f3513a5af8c /src/corelib/tools/qvector.h
parent3c9985fc34fdaf51fc5e63567a2f5c03e1c2b6f6 (diff)
Fix compilation on solaris-g++-64.
Add the "reserved" member to QVectorData in that configuration. Since this is only about the bootstrapped version of Qt, there are no binary compatibility issues. Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/corelib/tools/qvector.h')
-rw-r--r--src/corelib/tools/qvector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qvector.h b/src/corelib/tools/qvector.h
index 930b006c08..f0de98dd85 100644
--- a/src/corelib/tools/qvector.h
+++ b/src/corelib/tools/qvector.h
@@ -69,6 +69,7 @@ struct Q_CORE_EXPORT QVectorData
// workaround for bug in gcc 3.4.2
uint sharable;
uint capacity;
+ uint reserved;
#else
uint sharable : 1;
uint capacity : 1;