From b09ad740f6d7f5ed9d45fd6917ef509566b475ab Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 4 Jan 2018 09:47:09 +0100 Subject: doc: Correct remaining qdoc warnings in qqueue.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added missing template clause to \fn commands required by clang-qdoc. Change-Id: I53fe0b2c862cb053119ceab543dacbc4b20466df Reviewed-by: Topi Reiniƶ --- src/corelib/tools/qqueue.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/corelib/tools/qqueue.cpp') diff --git a/src/corelib/tools/qqueue.cpp b/src/corelib/tools/qqueue.cpp index 4b22903c1a..ffc48d6714 100644 --- a/src/corelib/tools/qqueue.cpp +++ b/src/corelib/tools/qqueue.cpp @@ -77,7 +77,7 @@ */ /*! - \fn void QQueue::swap(QQueue &other) + \fn template void QQueue::swap(QQueue &other) \since 4.8 Swaps queue \a other with this queue. This operation is very @@ -85,7 +85,7 @@ */ /*! - \fn void QQueue::enqueue(const T& t) + \fn template void QQueue::enqueue(const T& t) Adds value \a t to the tail of the queue. @@ -95,7 +95,7 @@ */ /*! - \fn T &QQueue::head() + \fn template T &QQueue::head() Returns a reference to the queue's head item. This function assumes that the queue isn't empty. @@ -106,13 +106,13 @@ */ /*! - \fn const T &QQueue::head() const + \fn template const T &QQueue::head() const \overload */ /*! - \fn T QQueue::dequeue() + \fn template T QQueue::dequeue() Removes the head item in the queue and returns it. This function assumes that the queue isn't empty. -- cgit v1.2.3