From 40976532158fc49be45bb976455f48e98f9690cf Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 15 Oct 2020 09:10:08 +0200 Subject: Fix signature of QDebug::toString() We don't need two overloads here. Change-Id: Ia6a3bcd93491843e07b0295fefe8da42ae9d6519 Reviewed-by: Giuseppe D'Angelo Reviewed-by: Thiago Macieira --- src/corelib/io/qdebug.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/corelib/io/qdebug.cpp') diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index c711c28f62..1a0ec17397 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -714,14 +714,7 @@ QDebug &QDebug::resetFormat() */ /*! - \fn template QString QDebug::toString(const T &object) - \since 6.0 - - \include qdebug-toString.qdocinc -*/ - -/*! - \fn template QString QDebug::toString(const T *object) + \fn template QString QDebug::toString(T &&object) \since 6.0 \include qdebug-toString.qdocinc -- cgit v1.2.3