diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-03 13:44:58 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-04 12:49:49 +0000 |
commit | 8ba8efb8396a2cf3e63860379db30c06173db1f6 (patch) | |
tree | 93973ae3010cfa8f207e44834db57ed4c546156c /src/corelib/thread/qthreadstorage.cpp | |
parent | b09ad740f6d7f5ed9d45fd6917ef509566b475ab (diff) |
doc: Correct remaining qdoc warnings in qthreadstorage.cpp
clang required adding template clauses to a few \fn commands.
Change-Id: I9972f793b05f423456878514eeaaa19baf8a9785
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadstorage.cpp')
-rw-r--r-- | src/corelib/thread/qthreadstorage.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/thread/qthreadstorage.cpp b/src/corelib/thread/qthreadstorage.cpp index 2f77a9ce26..c0b523a431 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 <class T> QThreadStorage<T>::QThreadStorage() Constructs a new per-thread data storage object. */ /*! - \fn QThreadStorage::~QThreadStorage() + \fn template <class T> QThreadStorage<T>::~QThreadStorage() Destroys the per-thread data storage object. @@ -278,7 +278,7 @@ void QThreadStorageData::finish(void **p) */ /*! - \fn bool QThreadStorage::hasLocalData() const + \fn template <class T> bool QThreadStorage<T>::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 <class T> T &QThreadStorage<T>::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 <class T> const T QThreadStorage<T>::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 <class T> void QThreadStorage<T>::setLocalData(T data) Sets the local data for the calling thread to \a data. It can be accessed later using the localData() functions. |