From fc1ff9badf77590766b637ae6d5f51a406f8341f Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Wed, 31 Jan 2018 13:23:37 +0100 Subject: 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 --- src/corelib/global/qglobal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib') 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 qAsConst(T &t) + \fn template typename std::add_const::type &qAsConst(T &t) \relates \since 5.7 @@ -3662,7 +3662,7 @@ bool qunsetenv(const char *varName) */ /*! - \fn template qAsConst(const T &&t) + \fn template void qAsConst(const T &&t) \relates \since 5.7 \overload -- cgit v1.2.3