]> git.pld-linux.org Git - packages/qt4.git/blame - qmap_inf_loop.patch
rebuild with openssl 3.0.0
[packages/qt4.git] / qmap_inf_loop.patch
CommitLineData
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); }
This page took 0.035483 seconds and 4 git commands to generate.