diff options
| author | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2018-09-24 11:28:46 +0200 |
|---|---|---|
| committer | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2018-10-01 09:45:31 +0000 |
| commit | 5b99f3a34fef527beb8767eb12657f81ee65b969 (patch) | |
| tree | 3fd514bd1a10ee11a0d16ef9b541e6a2b14edb4d /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp | |
| parent | b9ce354fb09bae11e04e1cb6b37e037a7c93b749 (diff) | |
Use std::addressof for taking an address instead of operator& in moc
Moc shouldn't artificially introduce calls to possibly overloaded
operator&. It can cause odd side effects in a user code.
Change-Id: Iaa1b491fe6a1a5ebd4dfa1172359dc792cc7604f
Fixes: QTBUG-68191
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
