diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-04 14:00:22 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-05 20:21:49 +0000 |
commit | 4d3c55aa31c40aad8c5eb1a98bc42787d3fe916a (patch) | |
tree | db57fd43c34ca99f5402a321f6958545a2bb724f /src/corelib | |
parent | d72705c96d11694efcc413245f088e8120b50fba (diff) |
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>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qstack.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/tools/qstack.cpp b/src/corelib/tools/qstack.cpp index c1848f83dd..af72313a67 100644 --- a/src/corelib/tools/qstack.cpp +++ b/src/corelib/tools/qstack.cpp @@ -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. |