summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-04 14:15:42 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-05 16:03:47 +0000
commit698fa094b399e73a32b2f55dc2a76dda84f979d4 (patch)
tree0bbbd9cd893060dfd78671c619e9534ffbcc7bbc
parent53fae41e4243cd2708fec0725460b618ad78be80 (diff)
doc: Correct remaining qdoc warnings in qscopedvaluerollback.cpp
Added missing template clause to \fn commands required by clang-qdoc. Change-Id: Ia7bc899153cccedc28e5083d658f427d322acab7 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/corelib/tools/qscopedvaluerollback.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/tools/qscopedvaluerollback.cpp b/src/corelib/tools/qscopedvaluerollback.cpp
index 0a819859e8..baca7c8229 100644
--- a/src/corelib/tools/qscopedvaluerollback.cpp
+++ b/src/corelib/tools/qscopedvaluerollback.cpp
@@ -62,13 +62,13 @@ QT_BEGIN_NAMESPACE
*/
/*!
- \fn QScopedValueRollback::QScopedValueRollback(T &var)
+ \fn template <typename T> QScopedValueRollback<T>::QScopedValueRollback(T &var)
Stores the previous value of \a var internally, for revert on destruction.
*/
/*!
- \fn QScopedValueRollback::QScopedValueRollback(T &var, T value)
+ \fn template <typename T> QScopedValueRollback<T>::QScopedValueRollback(T &var, T value)
Assigns \a value to \ var and stores the previous value of \a var
internally, for revert on destruction.
@@ -77,14 +77,14 @@ QT_BEGIN_NAMESPACE
*/
/*!
- \fn QScopedValueRollback::~QScopedValueRollback()
+ \fn template <typename T> QScopedValueRollback<T>::~QScopedValueRollback()
Assigns the previous value to the managed variable.
This is the value at construction time, or at the last call to commit()
*/
/*!
- \fn void QScopedValueRollback::commit()
+ \fn template <typename T> void QScopedValueRollback<T>::commit()
Updates the previous value of the managed variable to its current value.
*/