diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2019-10-28 08:35:08 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2019-10-28 10:52:45 +0100 |
commit | 76b86342d47df953009457a554245aace49eecf6 (patch) | |
tree | ac421501f8b0c9000c88fb606b21aab00fa71222 /src | |
parent | 032c356ec91879599d6770bfb061a85b0f10eb34 (diff) |
qv4compileddata: do not use raw constexpr
Necessary after change 50481fb909c2bbbc26a193e23783e5b0151168b9 in qtbase
Fixes: QTBUG-79563
Change-Id: I72c94cd87b881f2fb3fee005f73583f64cbf68e4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/compiler/qv4compileddata_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h index 9050cfba94..7b26939da0 100644 --- a/src/qml/compiler/qv4compileddata_p.h +++ b/src/qml/compiler/qv4compileddata_p.h @@ -293,7 +293,7 @@ struct Function typedef quint16_le TraceInfoCount; TraceInfoCount nTraceInfos; - static constexpr TraceInfoCount NoTracing() { return TraceInfoCount::max(); } + static Q_DECL_CONSTEXPR TraceInfoCount NoTracing() { return TraceInfoCount::max(); } // Keep all unaligned data at the end quint8 flags; |