diff --git a/src/corelib/tools/qoffsetstringarray_p.h b/src/corelib/tools/qoffsetstringarray_p.h index 076316396b..c40970c0a6 100644 --- a/src/corelib/tools/qoffsetstringarray_p.h +++ b/src/corelib/tools/qoffsetstringarray_p.h @@ -112,7 +112,7 @@ QT_WARNING_DISABLE_MSVC(4100) // The formal parameter is not referenced in the b static constexpr StaticString concatenate( const char (&ls)[N1], const StaticString &rs) noexcept { - return StaticString{ls[I1]..., rs.data[I2]...}; + return StaticString{{ls[I1]..., rs.data[I2]...}}; } QT_WARNING_POP };