diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-01-18 19:01:04 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-01-19 13:58:22 +0100 |
commit | 49e263ef4b1f5e03012a64ec137f3f3fc540ca9b (patch) | |
tree | ce5e5856a60f73f06206494257d2be176d06051a /src/gui | |
parent | a5229a57effb36a0ad42120829017c03ccf8982d (diff) |
QPropertyBindingPrivate: move static_assert()s to .cpp file
One of them has managed to percolate up to the top of the Clang
-ftime-trace list of expensive template instantiations when building
libQt6Gui.so with -pch:
**** Templates that took longest to instantiate:
7882 ms: std::is_trivially_destructible<QPropertyBindingSourceLocation> (135 times, avg 58 ms)
The checks aren't really necessary, because the compiler would
complain about the union's deleted dtor if any of the members were not
trivially destructible. Keep it around, though, but in the .cpp file.
Task-number: QTBUG-97601
Pick-to: 6.3 6.2
Change-Id: I74a513a907735bde298e0bd9557d10abbcee5c91
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions