summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformscreen.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-01-19 11:29:52 +0100
committerMarc Mutz <marc.mutz@kdab.com>2017-01-28 07:46:22 +0000
commitce3402b5efc929b99d6ecb27f47e671cdcfae393 (patch)
tree41c2c17e0dd1aa686a43272979354eb9ffd9ac82 /src/gui/kernel/qplatformscreen.h
parent1aea3c1229556d2a692194c615844579f315e3be (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 'src/gui/kernel/qplatformscreen.h')
0 files changed, 0 insertions, 0 deletions