summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-01-27 20:37:43 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-01-28 22:40:23 -0800
commit073454901de1b66795b29a708ac939026ea2f41d (patch)
tree2a32a1649a5781e74285805187e76518c405a4fe /src
parentcdb78d79935cb3d1063601223548465bc09b26d8 (diff)
qfloat16: add missing static
Commit 0df7831d01b03910ae74a432c2a07a29d99fc315 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>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qfloat16.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qfloat16.cpp b/src/corelib/global/qfloat16.cpp
index d816d8b888..902a1aebe2 100644
--- a/src/corelib/global/qfloat16.cpp
+++ b/src/corelib/global/qfloat16.cpp
@@ -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;