From cfb44f3b3c59b3972a7a02100c8ad22de4c4e4ce Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 7 Dec 2023 11:45:50 +0100 Subject: [PATCH] QDebug: remove QPair streaming docs QPair _is_ std::pair. If this wasn't a fake-definition under #ifdef Q_QDOC, the compiler would have complained long ago. Pick-to: 6.5 Change-Id: Idfe589ff13115d3d908572a17b849f634ec86787 Reviewed-by: Ivan Solovev (cherry picked from commit 9d54b5c57e6f8d8a7fee160ed899809135cd5866) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/io/qdebug.cpp | 8 -------- src/corelib/io/qdebug.h | 3 --- 2 files changed, 11 deletions(-) diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index 378ef90bfeb..65a02e10879 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -979,14 +979,6 @@ QDebug &QDebug::resetFormat() \c T need to support streaming into QDebug. */ -/*! - \fn template QDebug operator<<(QDebug debug, const QPair &pair) - \relates QDebug - - Writes the contents of \a pair to \a debug. Both \c T1 and - \c T2 need to support streaming into QDebug. -*/ - /*! \fn template QDebug operator<<(QDebug debug, const std::pair &pair) \relates QDebug diff --git a/src/corelib/io/qdebug.h b/src/corelib/io/qdebug.h index 8469a4a8206..be837a9fdcf 100644 --- a/src/corelib/io/qdebug.h +++ b/src/corelib/io/qdebug.h @@ -420,9 +420,6 @@ QDebug operator<<(QDebug debug, const QMultiHash &hash); template QDebug operator<<(QDebug debug, const QSet &set); -template -QDebug operator<<(QDebug debug, const QPair &pair); - template QDebug operator<<(QDebug debug, const std::pair &pair);