diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-02-17 13:55:12 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-02-17 13:55:12 (GMT) |
commit | 340b44156245a520e53119815670becd3eb7fb70 (patch) | |
tree | da53b100bc52132841e5d9c1f956f25cf183a441 /src/corelib/tools/qset.h | |
parent | 17a0a50a101fc9863d0dffd0dcb887ba68a99622 (diff) | |
parent | 095496e02610c66d34cf3ee0fc329abed2be47e3 (diff) | |
download | Qt-340b44156245a520e53119815670becd3eb7fb70.zip Qt-340b44156245a520e53119815670becd3eb7fb70.tar.gz Qt-340b44156245a520e53119815670becd3eb7fb70.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Change all ptrdiff_t to qptrdiff.
HTTP backend: remove comment
Fixed failure of maketestselftest with vcproj generator.
Fixed compile of compilerwarnings test with vcproj generator.
Fixed compile of qlibrary test with vcproj generator.
Fixed compile of xmlpatterns tests with vcproj generator.
Fixed compile of shm/sem tests with vcproj generator.
Fixed compile of QtHelp tests with vcproj generator.
Fixed tests using Q_DECLARE_* when Qt is configured with -qtnamespace
Fixed compile of these tests when Qt is configured with -qtnamespace
Check in sample license headers
Diffstat (limited to 'src/corelib/tools/qset.h')
-rw-r--r-- | src/corelib/tools/qset.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/corelib/tools/qset.h b/src/corelib/tools/qset.h index 6525880..b266deb 100644 --- a/src/corelib/tools/qset.h +++ b/src/corelib/tools/qset.h @@ -97,7 +97,7 @@ public: public: typedef std::bidirectional_iterator_tag iterator_category; - typedef ptrdiff_t difference_type; + typedef qptrdiff difference_type; typedef T value_type; typedef const T *pointer; typedef const T &reference; @@ -132,7 +132,7 @@ public: public: typedef std::bidirectional_iterator_tag iterator_category; - typedef ptrdiff_t difference_type; + typedef qptrdiff difference_type; typedef T value_type; typedef const T *pointer; typedef const T &reference; @@ -188,11 +188,10 @@ public: typedef const value_type *const_pointer; typedef value_type &reference; typedef const value_type &const_reference; - typedef ptrdiff_t difference_type; + typedef qptrdiff difference_type; typedef int size_type; inline bool empty() const { return isEmpty(); } - // comfort inline QSet<T> &operator<<(const T &value) { insert(value); return *this; } inline QSet<T> &operator|=(const QSet<T> &other) { unite(other); return *this; } |