diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-07-01 20:55:46 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-06 19:07:04 +0000 |
commit | 3a1f9dec7cdc0f6504eed8157f6fcb0a9638c109 (patch) | |
tree | 400f62d105ccb3a56bc212a5d12824b61558696d /src/dbus | |
parent | eea99e1e8f3eb67fda35dd3a656fe9b5a9be84f2 (diff) |
Q_ARRAY_LITERAL: protect the check for literal types
Some compilers (hello, MSVC) do not produce literal types in Qt
because their constexpr support has been blacklisted.
Therefore, amend the check for literal types in Q_ARRAY_LITERAL:
only do the check if the compiler supports constexpr.
Change-Id: I7cffe00dde447d975aa6a7d02248df9c351508ff
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/dbus')
0 files changed, 0 insertions, 0 deletions