diff --git a/src/corelib/tools/qoffsetstringarray_p.h b/src/corelib/tools/qoffsetstringarray_p.h index aa25f575bea..f86316430a9 100644 --- a/src/corelib/tools/qoffsetstringarray_p.h +++ b/src/corelib/tools/qoffsetstringarray_p.h @@ -141,7 +141,7 @@ constexpr auto makeOffsetStringArray(StringExtractor extractString, const T &... std::array staticString = QtPrivate::makeStaticString(extractString, entries...); return QOffsetStringArray(staticString, minifiedOffsetList); } -} +} // namespace QtPrivate template constexpr auto qOffsetStringArray(const char (&...strings)[Nx]) noexcept