qfloat16: add missing static

Commit 0df7831d01 moved these functions
into this file, but forgot to add the marker.

Drive-by replace Q_DECL_NOEXCEPT with noexcept

Pick-to: 6.3
Change-Id: I6fcda969a9e9427198bffffd16ce5543c5fd544e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Thiago Macieira 2022-01-27 20:37:43 -08:00
parent cdb78d7993
commit 073454901d

View File

@ -200,7 +200,7 @@ static inline bool hasFastF16()
}
QT_FUNCTION_TARGET(F16C)
void qFloatToFloat16_fast(quint16 *out, const float *in, qsizetype len) Q_DECL_NOEXCEPT
static void qFloatToFloat16_fast(quint16 *out, const float *in, qsizetype len) noexcept
{
qsizetype i = 0;
int epilog_i;
@ -216,7 +216,7 @@ void qFloatToFloat16_fast(quint16 *out, const float *in, qsizetype len) Q_DECL_N
}
QT_FUNCTION_TARGET(F16C)
void qFloatFromFloat16_fast(float *out, const quint16 *in, qsizetype len) Q_DECL_NOEXCEPT
static void qFloatFromFloat16_fast(float *out, const quint16 *in, qsizetype len) noexcept
{
qsizetype i = 0;
int epilog_i;