Remove unneeded toString(QPair) declaration
It's literally the same as the std::pair one that immediately follows it, because QPair these days is just a template alias for std::pair. Wasn't flagged as an error because it's just a declaration, not a definition. Pick-to: 6.5 Change-Id: I5b47572f6e2a71edb47cbe224801a719ff1e060d Reviewed-by: Jason McDonald <macadder1@gmail.com> (cherry picked from commit 85842da95b5a7821b44d83e5d26922a3d07ef6cf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
9557d1ca92
commit
a0ac17891b
@ -352,9 +352,6 @@ namespace QTest
|
|||||||
return Internal::toString(t);
|
return Internal::toString(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T1, typename T2>
|
|
||||||
inline char *toString(const QPair<T1, T2> &pair);
|
|
||||||
|
|
||||||
template <typename T1, typename T2>
|
template <typename T1, typename T2>
|
||||||
inline char *toString(const std::pair<T1, T2> &pair);
|
inline char *toString(const std::pair<T1, T2> &pair);
|
||||||
|
|
||||||
|
@ -1363,13 +1363,6 @@
|
|||||||
moving the mouse pointer.
|
moving the mouse pointer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
|
||||||
\fn template <typename T1, typename T2> char *QTest::toString(const QPair<T1, T2> &pair)
|
|
||||||
\overload
|
|
||||||
\since 5.11
|
|
||||||
Returns a textual representation of the \a pair.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn template <typename T1, typename T2> char *QTest::toString(const std::pair<T1, T2> &pair)
|
\fn template <typename T1, typename T2> char *QTest::toString(const std::pair<T1, T2> &pair)
|
||||||
\overload
|
\overload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user