doc: Correct remaining qdoc warnings in qstack.cpp

Added missing template clause to \fn commands required by clang-qdoc.

Change-Id: Id2cb480a0780025276639c38f595cb21264bd8cb
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
bb10
Martin Smith 2018-01-04 14:00:22 +01:00
parent d72705c96d
commit 4d3c55aa31
1 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@
*/
/*!
\fn void QStack::swap(QStack<T> &other)
\fn template<class T> void QStack<T>::swap(QStack<T> &other)
\since 4.8
Swaps stack \a other with this stack. This operation is very fast and
@ -85,7 +85,7 @@
*/
/*!
\fn void QStack::push(const T& t)
\fn template<class T> void QStack<T>::push(const T& t)
Adds element \a t to the top of the stack.
@ -95,7 +95,7 @@
*/
/*!
\fn T& QStack::top()
\fn template<class T> T& QStack<T>::top()
Returns a reference to the stack's top item. This function
assumes that the stack isn't empty.
@ -106,7 +106,7 @@
*/
/*!
\fn const T& QStack::top() const
\fn template<class T> const T& QStack<T>::top() const
\overload
@ -114,7 +114,7 @@
*/
/*!
\fn T QStack::pop()
\fn template<class T> T QStack<T>::pop()
Removes the top item from the stack and returns it. This function
assumes that the stack isn't empty.