Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QThreadStorage: replace QScoped- with std::unique_ptr
This only affects the !QT_CONFIG(thread) case and requires the rewrite of the old-style static cleanup() deleter protocol into the modern operator()() one. As a drive-by, mark the deleter noexcept, like destructors are supposed to be. Task-number: QTBUG-132213 Change-Id: I8839865880647d76b77eb9a3f2858067db86234e Reviewed-by: Thiago Macieira <[email protected]> (cherry picked from commit 6da1f72) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit 7aadf25)
- Loading branch information