summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qforeach.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qforeach.qdoc')
-rw-r--r--src/corelib/global/qforeach.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/global/qforeach.qdoc b/src/corelib/global/qforeach.qdoc
index 278f1a1007..632c9dd676 100644
--- a/src/corelib/global/qforeach.qdoc
+++ b/src/corelib/global/qforeach.qdoc
@@ -54,9 +54,9 @@
\note Since Qt 5.7, the use of this macro is discouraged. It will
be removed in a future version of Qt. Please use C++11 range-for,
- possibly with qAsConst(), as needed.
+ possibly with std::as_const(), as needed.
- \sa qAsConst()
+ \sa std::as_const()
*/
/*!
@@ -70,7 +70,7 @@
\note Since Qt 5.7, the use of this macro is discouraged. It will
be removed in a future version of Qt. Please use C++11 range-for,
- possibly with qAsConst(), as needed.
+ possibly with std::as_const(), as needed.
- \sa qAsConst()
+ \sa std::as_const()
*/