The file contains two implementations of the class template, one for QT_CONFIG(thread) and one for without. Both are in the QT_NAMESPACE, but each provided their own QT_{BEGIN,END}_NAMESPACE macro pair. This is unneeded and may throw off scripts which use the macros as insertion positions (like includemocs, which, however, operates on .cpp files, not headers). To fix, move the namespace macro pair to be around the #if QT_CONFIG(thread) block. Pick-to: 6.5 Change-Id: I56c1f9a4ef7df0fba54c72d8a213fa92573b826c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 8553ffd8d147ecf6a713d12a360027b477dd59c8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit ee6982605410c62ca68f05f5666f8af069dc3e0e)
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%