summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentstoredfunctioncall.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-08-21 22:46:33 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-08-23 11:18:08 +0200
commit6c19d1c5eaf2417afa6475fdaf470cc4c3896899 (patch)
tree524cc5989bdd2ec1fba57b6ad3d798182bb36479 /src/concurrent/qtconcurrentstoredfunctioncall.h
parent4527b2d16537e7b6b6b8733117f536435d99175f (diff)
Leave a comment about a usage of a restricted bool trick
I'm pretty sure we want to keep supporting statements like bool ok = connect(~~~); that is, statements that do use copy initialization and not direct initialization. As such, QMetaObject::Connection has to keep using the restricted bool trick and cannot be ported over to explicit operator bool. Change-Id: I07a38f7c134686e67b5984aa93fe5cf3201561d7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/concurrent/qtconcurrentstoredfunctioncall.h')
0 files changed, 0 insertions, 0 deletions