path: root/src/corelib/global/qglobal.cpp
diff options
authorMartin Smith <>2018-01-31 13:23:37 +0100
committerMartin Smith <>2018-02-03 17:25:12 +0000
commitfc1ff9badf77590766b637ae6d5f51a406f8341f (patch)
treeb9d1ec88c8d1993307111671bdfbf9429b6ca6a2 /src/corelib/global/qglobal.cpp
parenta374e164efe3f315d5dc6d767a2a16ee2a5eb4d9 (diff)
doc: Add 2 missing return types to \fn commands
Return types were missing from two \fn commands, but clang-qdoc did not detect they were missing on macOS. clang-qdoc on linux did detect them. This could mean there is a problem with the function that matches a \fn signature with its declaration in the database. It might be too forgiving. Change-Id: I01f107a6162e2f36b594b5d3dd4029b8ef2db678 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index c6197660e7..1fe1c8c0d1 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -3610,7 +3610,7 @@ bool qunsetenv(const char *varName)
- \fn template <typename T> qAsConst(T &t)
+ \fn template <typename T> typename std::add_const<T>::type &qAsConst(T &t)
\relates <QtGlobal>
\since 5.7
@@ -3662,7 +3662,7 @@ bool qunsetenv(const char *varName)
- \fn template <typename T> qAsConst(const T &&t)
+ \fn template <typename T> void qAsConst(const T &&t)
\relates <QtGlobal>
\since 5.7