]> git.pld-linux.org Git - packages/qt4.git/blob - qmap_inf_loop.patch
bump icu abi to 72
[packages/qt4.git] / qmap_inf_loop.patch
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); }
This page took 0.056417 seconds and 3 git commands to generate.