summaryrefslogtreecommitdiff
path: root/qmake/include/qmemarray.h
Side-by-side diff
Diffstat (limited to 'qmake/include/qmemarray.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/include/qmemarray.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/qmake/include/qmemarray.h b/qmake/include/qmemarray.h
index a5baf99..267670d 100644
--- a/qmake/include/qmemarray.h
+++ b/qmake/include/qmemarray.h
@@ -45,3 +45,3 @@
-template<class type>
+template<class type>
class QMemArray : public QGArray
@@ -70,2 +70,3 @@ public:
bool resize( uint size ) { return QGArray::resize(size*sizeof(type)); }
+ bool resize( uint size, Optimization optim ) { return QGArray::resize(size*sizeof(type), optim); }
bool truncate( uint pos ) { return QGArray::resize(pos*sizeof(type)); }
@@ -110,2 +111,3 @@ public:
+#ifndef QT_QWINEXPORT
#if defined(Q_TEMPLATEDLL)
@@ -116,2 +118,3 @@ Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<bool>;
#endif
+#endif /* QT_QWINEXPORT */
@@ -121,2 +124,6 @@ Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<bool>;
+#ifdef QT_QWINEXPORT
+#define Q_DEFINED_QMEMARRAY
+#include <qwinexport.h>
+#endif /* QT_QWINEXPORT */
#endif // QARRAY_H