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

Change-Id: I0a94bfaae8b3db700c794aa83d9637ec85edffb1
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit a4518cc706ed9ef8ed7fd79ed3423b64c6d1fb93)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ivan Solovev 2024-01-11 17:57:51 +01:00 committed by Qt Cherry-pick Bot
parent eb31663d03
commit 5b8515bae7

View File

@ -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;