From 8ba8efb8396a2cf3e63860379db30c06173db1f6 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Wed, 3 Jan 2018 13:44:58 +0100 Subject: [PATCH] doc: Correct remaining qdoc warnings in qthreadstorage.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit clang required adding template clauses to a few \fn commands. Change-Id: I9972f793b05f423456878514eeaaa19baf8a9785 Reviewed-by: Topi Reiniƶ --- src/corelib/thread/qthreadstorage.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/corelib/thread/qthreadstorage.cpp b/src/corelib/thread/qthreadstorage.cpp index 2f77a9ce264..c0b523a4313 100644 --- a/src/corelib/thread/qthreadstorage.cpp +++ b/src/corelib/thread/qthreadstorage.cpp @@ -260,13 +260,13 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn QThreadStorage::QThreadStorage() + \fn template QThreadStorage::QThreadStorage() Constructs a new per-thread data storage object. */ /*! - \fn QThreadStorage::~QThreadStorage() + \fn template QThreadStorage::~QThreadStorage() Destroys the per-thread data storage object. @@ -278,7 +278,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn bool QThreadStorage::hasLocalData() const + \fn template bool QThreadStorage::hasLocalData() const If T is a pointer type, returns \c true if the calling thread has non-zero data available. @@ -290,7 +290,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn T &QThreadStorage::localData() + \fn template T &QThreadStorage::localData() Returns a reference to the data that was set by the calling thread. @@ -302,7 +302,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn const T QThreadStorage::localData() const + \fn template const T QThreadStorage::localData() const \overload Returns a copy of the data that was set by the calling thread. @@ -311,7 +311,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn void QThreadStorage::setLocalData(T data) + \fn template void QThreadStorage::setLocalData(T data) Sets the local data for the calling thread to \a data. It can be accessed later using the localData() functions.