Add missing qt namespace in qthreadstorage.h

Wrap 'else QT_CONFIG(thread)' block in qthreadstorage.h with qt
namespace

Pick-to: 6.2
Fixes: QTBUG-98085
Change-Id: Ica1817fa6beeaf9e4883edaa8738f042b29f0c5e
Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Alexey Edelev 2021-11-10 16:36:23 +01:00
parent da326804ea
commit f6d210a0d3

View File

@ -158,6 +158,8 @@ QT_END_NAMESPACE
#include <type_traits>
QT_BEGIN_NAMESPACE
template <typename T, typename U>
inline bool qThreadStorage_hasLocalData(const QScopedPointer<T, U> &data)
{
@ -227,6 +229,8 @@ public:
}
};
QT_END_NAMESPACE
#endif // QT_CONFIG(thread)
#endif // QTHREADSTORAGE_H