From 6d95408f1a0145745d2cf48132691c13e3ea2c17 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Thu, 28 Jul 2022 10:20:26 +0200 Subject: [PATCH] Remove the unused forward declaration for QDataStream from qglobal.h The comment suggests that there should be function declarations that need QDataStream, but there are none. It's probably a leftover from the old code. Change-Id: Iacefccc6b862d9a4ec111ebac8970b1ef01bcf39 Reviewed-by: Edward Welbourne Reviewed-by: Thiago Macieira Reviewed-by: Qt CI Bot --- src/corelib/global/qglobal.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 0f3f0eda73..7d234c74b1 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -849,12 +849,6 @@ private: #endif // Q_OS_DARWIN -/* - Data stream functions are provided by many classes (defined in qdatastream.h) -*/ - -class QDataStream; - inline void qt_noop(void) {} /* These wrap try/catch so we can switch off exceptions later.