diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-08-22 13:15:29 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-09-12 11:35:36 +0000 |
commit | d9919f1852441d591b12bf50da6a3b6b5fa53087 (patch) | |
tree | a5692fe304b00ae9407277b57feb9c7e76299f4e /tests/benchmarks | |
parent | 82c6911d7d25489bd810fbef89441e5d8ee5cfac (diff) |
QFutureInterface: clean up mutex() method for Qt 6
Ditch the QMutex *mutex() method that we had to keep around for binary
compatibility and drop the disambiguation argument of QMutex
&mutex(int) now that we don't need it anymore.
The lock_guard lines now look dangerously close to C++'s Most Vexing
Parse, so use braced initialization to make sure it's parsed as a
definition, not a declaration.
Change-Id: Ie3d70f58c9878ab6d7da8f8bd72a4cb4aff83bb7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions