diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-16 15:13:36 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-08-28 21:22:32 +0200 |
commit | 26547c296ba89d20872eeda9d334fc1e07ddb43e (patch) | |
tree | ac5ef06bd4be3bf8bed46512cea2539d14a5d884 /src/corelib/global/qglobal.h | |
parent | 17ba201a3f2138e9a8fb2c8b63b9f1ccdf8eb9f3 (diff) |
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 <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r-- | src/corelib/global/qglobal.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <typename T> inline void qSwap(T &value1, T &value2) noexcept(noexcept(QtPrivate::SwapExceptionTester::checkSwap(value1))) |