summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmap.h
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-02-18 23:24:24 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-02-18 23:24:24 (GMT)
commit9fbbd3146c42869d56da8c82501be1e6a6595f36 (patch)
tree092af029342fa1c5a59bc30c85d7257c88718609 /src/corelib/tools/qmap.h
parent4baa9dfb5273d7b501dcb3f456983262c53cc8d1 (diff)
parent52e517b50aafd6cc0bec597abd50d8b3f7e982dd (diff)
downloadQt-9fbbd3146c42869d56da8c82501be1e6a6595f36.zip
Qt-9fbbd3146c42869d56da8c82501be1e6a6595f36.tar.gz
Qt-9fbbd3146c42869d56da8c82501be1e6a6595f36.tar.bz2
Merge remote branch 'origin/4.6' into integration-master-from-4.6
Conflicts: src/corelib/codecs/qtextcodec.h
Diffstat (limited to 'src/corelib/tools/qmap.h')
-rw-r--r--src/corelib/tools/qmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/tools/qmap.h b/src/corelib/tools/qmap.h
index 9ba9ca5..2e21547 100644
--- a/src/corelib/tools/qmap.h
+++ b/src/corelib/tools/qmap.h
@@ -214,7 +214,7 @@ public:
public:
typedef std::bidirectional_iterator_tag iterator_category;
- typedef ptrdiff_t difference_type;
+ typedef qptrdiff difference_type;
typedef T value_type;
typedef T *pointer;
typedef T &reference;
@@ -282,7 +282,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;
@@ -385,7 +385,7 @@ public:
// STL compatibility
typedef Key key_type;
typedef T mapped_type;
- typedef ptrdiff_t difference_type;
+ typedef qptrdiff difference_type;
typedef int size_type;
inline bool empty() const { return isEmpty(); }