diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2021-07-13 23:46:52 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2021-07-28 09:43:03 +0200 |
commit | becb3596f092db6e8848696f08fca0740a58e932 (patch) | |
tree | 30ab88caa2cc9910bfbd32f71034fdc3b804fe12 /src/corelib/tools/qcryptographichash.h | |
parent | d3ecc6db293143bdd4a5da5f28144a7e145f257c (diff) |
QtCore: clean up API removals
Use the same new pattern as in QtWidgets.
Amends de18b3ff370543b5b99bd068b871a2cd677cf9f3.
Change-Id: Ia1cbd40aa7a7efc9a954d22b599e13a19a6a9266
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qcryptographichash.h')
-rw-r--r-- | src/corelib/tools/qcryptographichash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qcryptographichash.h b/src/corelib/tools/qcryptographichash.h index b3ab9c6126..83aed7c64c 100644 --- a/src/corelib/tools/qcryptographichash.h +++ b/src/corelib/tools/qcryptographichash.h @@ -108,7 +108,7 @@ public: QT_DEPRECATED_VERSION_X_6_4("Use the QByteArrayView overload instead") void addData(const char *data, qsizetype length); #endif -#ifdef QT_BUILD_FUNCTIONS_REMOVED_IN_6_3 +#if QT_REMOVED_SINCE(6, 3) void addData(const QByteArray &data); #endif void addData(QByteArrayView data) noexcept; @@ -117,7 +117,7 @@ public: QByteArray result() const; QByteArrayView resultView() const noexcept; -#ifdef QT_BUILD_FUNCTIONS_REMOVED_IN_6_3 +#if QT_REMOVED_SINCE(6, 3) static QByteArray hash(const QByteArray &data, Algorithm method); #endif static QByteArray hash(QByteArrayView data, Algorithm method); |