diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index 078ada91c1..f8e3b412a8 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -996,7 +996,7 @@ Q_CORE_EXPORT void qt_from_latin1(char16_t *dst, const char *str, size_t size) n #endif } -static QVarLengthArray qt_from_latin1_to_qvla(QLatin1StringView str) noexcept +static QVarLengthArray qt_from_latin1_to_qvla(QLatin1StringView str) { const qsizetype len = str.size(); QVarLengthArray arr(len);