Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/corelib/tools/qhash.h

    r651 r769  
    330330    public:
    331331        typedef std::bidirectional_iterator_tag iterator_category;
    332         typedef ptrdiff_t difference_type;
     332        typedef difference_type;
    333333        typedef T value_type;
    334334        typedef T *pointer;
     
    395395    public:
    396396        typedef std::bidirectional_iterator_tag iterator_category;
    397         typedef ptrdiff_t difference_type;
     397        typedef difference_type;
    398398        typedef T value_type;
    399399        typedef const T *pointer;
     
    479479    typedef T mapped_type;
    480480    typedef Key key_type;
    481     typedef ptrdiff_t difference_type;
     481    typedef difference_type;
    482482    typedef int size_type;
    483483
     
    928928
    929929    inline QMultiHash &operator+=(const QMultiHash &other)
    930     { unite(other); return *this; }
     930    { unite(other); return *this; }
    931931    inline QMultiHash operator+(const QMultiHash &other) const
    932932    { QMultiHash result = *this; result += other; return result; }
     
    10031003    while (i != end && i.key() == key) {
    10041004        if (i.value() == value) {
    1005 #if defined(Q_CC_RVCT)
    1006             // RVCT has problems with scoping, apparently.
    1007             i = QHash<Key, T>::erase(i);
    1008 #else
    1009             i = erase(i);
    1010 #endif
     1005            i = this->erase(i);
    10111006            ++n;
    10121007        } else {
Note: See TracChangeset for help on using the changeset viewer.