]>
Commit | Line | Data |
---|---|---|
db331ed1 JP |
1 | --- qt-everywhere-opensource-src-4.8.7.orig/src/corelib/tools/qmap.h 2015-05-07 14:14:48.000000000 +0000 |
2 | +++ qt-everywhere-opensource-src-4.8.7/src/corelib/tools/qmap.h 2021-09-22 13:03:35.852354885 +0000 | |
3 | @@ -179,7 +179,7 @@ | |
4 | } | |
5 | ||
6 | public: | |
7 | - inline QMap() : d(&QMapData::shared_null) { d->ref.ref(); } | |
8 | + inline QMap() : d(QMapData::shared_null.backward) { d->ref.ref(); } | |
9 | inline QMap(const QMap<Key, T> &other) : d(other.d) | |
10 | { d->ref.ref(); if (!d->sharable) detach(); } | |
11 | inline ~QMap() { if (!d) return; if (!d->ref.deref()) freeData(d); } |