diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-19 11:29:52 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-01-28 07:46:22 +0000 |
commit | ce3402b5efc929b99d6ecb27f47e671cdcfae393 (patch) | |
tree | 41c2c17e0dd1aa686a43272979354eb9ffd9ac82 /doc/src | |
parent | 1aea3c1229556d2a692194c615844579f315e3be (diff) |
QSizePolicy: add some constexpr
Also add a basic test for constexpr expressions involving QSizePolicy.
GCC < 4.8.0 has problems with initializing variant members in constexpr ctors:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54922
Instead of revoking its Q_COMPILER_CONSTEXPR, which is a source-incompatible
change, simply note the fact so we can selectively provide constexpr for
QSizePolicy.
Change-Id: Iba8e5a7cdf847d73e8e2b6bb6211fb3c9846aa0a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions