Instead of default-construction followed by move-assignment, delegate to the move ctor instead. We can't expect the optimizer to do this transformation for us, since fromLatin1() is out-of-line and compilers are not, yet, known for optimizing atomics (ref-count) around out-of-line function calls. Amends 6abdbb65e59779af56ae25372a853efca19eac59. Pick-to: 6.7 6.5 Change-Id: I75b747c4d5269ae125bf12cda57a1f718aa7a467 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> (cherry picked from commit f7853680ef68ce2495662ffc7c7a933655436f22) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%