summaryrefslogtreecommitdiffstats
path: root/src/corelib/compat
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-02-09 21:34:41 +0100
committerMarc Mutz <marc.mutz@qt.io>2024-02-12 23:49:54 +0100
commitfc23fa459c5924bf1cc4564c7bce1fd59d7c972b (patch)
treea01b43a44e4ba25102ef892a8296cd6cf58bc456 /src/corelib/compat
parent612b67cf13cedb832e082308b620f948377ddf21 (diff)
QDataStream: inline status()
The implementation is trivial, and unchanged since the beginning of the public project history, so I'd venture that it's safe to commit to it not changing until Qt 7 at this point. The reason to make it inline is that a good stream operator implementation should be checking the stream state quite often, so we shouldn't make that an expensive DLL entry point. Change-Id: Iba8cbfbaf02326c86ab95be17b603cd2e785f78c Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/compat')
-rw-r--r--src/corelib/compat/removed_api.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp
index 1031b2a609..ddfdcb4911 100644
--- a/src/corelib/compat/removed_api.cpp
+++ b/src/corelib/compat/removed_api.cpp
@@ -914,3 +914,14 @@ QUrl QUrl::fromEncoded(const QByteArray &input, ParsingMode mode)
// order sections alphabetically to reduce chances of merge conflicts
#endif // QT_CORE_REMOVED_SINCE(6, 7)
+
+
+#if QT_CORE_REMOVED_SINCE(6, 8)
+
+#include "qdatastream.h" // inlined API
+
+// #include "qotherheader.h"
+// // implement removed functions from qotherheader.h
+// order sections alphabetically to reduce chances of merge conflicts
+
+#endif // QT_CORE_REMOVED_SINCE(6, 8)