From 4d3c55aa31c40aad8c5eb1a98bc42787d3fe916a Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 4 Jan 2018 14:00:22 +0100 Subject: doc: Correct remaining qdoc warnings in qstack.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: Id2cb480a0780025276639c38f595cb21264bd8cb Reviewed-by: Topi Reiniƶ --- src/corelib/tools/qstack.cpp | 10 +++++----- 1 file 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 &other) + \fn template void QStack::swap(QStack &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 void QStack::push(const T& t) Adds element \a t to the top of the stack. @@ -95,7 +95,7 @@ */ /*! - \fn T& QStack::top() + \fn template T& QStack::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 const T& QStack::top() const \overload @@ -114,7 +114,7 @@ */ /*! - \fn T QStack::pop() + \fn template T QStack::pop() Removes the top item from the stack and returns it. This function assumes that the stack isn't empty. -- cgit v1.2.3