summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-11-13 08:19:06 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-11-13 14:26:22 (GMT)
commit7ddfd25fd8642c0b61e3cfbc4408c2ce4a664fc1 (patch)
tree44ea622d0a879e8d8f010ad5e8fd1f3513a5af8c /src/corelib/tools
parent3c9985fc34fdaf51fc5e63567a2f5c03e1c2b6f6 (diff)
downloadQt-7ddfd25fd8642c0b61e3cfbc4408c2ce4a664fc1.zip
Qt-7ddfd25fd8642c0b61e3cfbc4408c2ce4a664fc1.tar.gz
Qt-7ddfd25fd8642c0b61e3cfbc4408c2ce4a664fc1.tar.bz2
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')
-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 930b006..f0de98d 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;