summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2024-01-11 17:57:51 +0100
committerIvan Solovev <ivan.solovev@qt.io>2024-01-12 14:35:27 +0100
commita4518cc706ed9ef8ed7fd79ed3423b64c6d1fb93 (patch)
tree079a5f6d9a3cd99267a2fb35930f7c1065b6454b
parentab6e3c59a35e94a6740ae593b6101144fb65e089 (diff)
QCborStreamReader::lastError() - fix REMOVED_SINCE version
The definition in removed_api.cpp is added within the proper #ifdef block, only the version in the header was wrong. Amends 8e8815b688684f5b267db1c2d8ac99c8f7f7637a Found in 6.7 API Review Pick-to: 6.7 Change-Id: I0a94bfaae8b3db700c794aa83d9637ec85edffb1 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/corelib/serialization/qcborstreamreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/serialization/qcborstreamreader.h b/src/corelib/serialization/qcborstreamreader.h
index 64427425049..9c5629f15a9 100644
--- a/src/corelib/serialization/qcborstreamreader.h
+++ b/src/corelib/serialization/qcborstreamreader.h
@@ -77,7 +77,7 @@ public:
void clear();
void reset();
-#if QT_CORE_REMOVED_SINCE(6, 6)
+#if QT_CORE_REMOVED_SINCE(6, 7)
QCborError lastError();
#endif
QCborError lastError() const;