From 26547c296ba89d20872eeda9d334fc1e07ddb43e Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 16 Jul 2020 15:13:36 +0200 Subject: Purge qalgorithm.h of deprecated API A large slice of it has been deprecated since 5.2. Reflowed a doc paragraph pointed out, in the deprecation commit, as having been left ragged by its edits. Note: qSwap() is documented as \deprecated but not marked, where it's defined, as deprecated. Change-Id: Iaff10ac0c4c38e5b85f10eca4eedeab861f09959 Reviewed-by: Thiago Macieira --- src/corelib/global/qglobal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/global/qglobal.h') diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index cd568df213..642ea2b1f3 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -938,6 +938,7 @@ namespace SwapExceptionTester { // insulate users from the "using std::swap" bel } } // namespace QtPrivate +// Documented in ../tools/qalgorithm.qdoc template inline void qSwap(T &value1, T &value2) noexcept(noexcept(QtPrivate::SwapExceptionTester::checkSwap(value1))) -- cgit v1.2.3