diff options
| author | Linus Jahn <lnj@kaidan.im> | 2020-02-02 18:14:27 +0100 |
|---|---|---|
| committer | LNJ <lnj@kaidan.im> | 2020-02-03 00:11:55 +0100 |
| commit | 57f1b775197aed1d32e98b0299c0999339a7d5f6 (patch) | |
| tree | ce5702781e15f3a5c438ab153edf06f51a501b29 /src/base/QXmppBitsOfBinaryContentId.cpp | |
| parent | 99b850a3008bbb03d3449d683adb87839f7d5c4b (diff) | |
| download | qxmpp-57f1b775197aed1d32e98b0299c0999339a7d5f6.tar.gz | |
Run clang-format also on all cpp files
Diffstat (limited to 'src/base/QXmppBitsOfBinaryContentId.cpp')
| -rw-r--r-- | src/base/QXmppBitsOfBinaryContentId.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/base/QXmppBitsOfBinaryContentId.cpp b/src/base/QXmppBitsOfBinaryContentId.cpp index 21968a22..24f9cbcd 100644 --- a/src/base/QXmppBitsOfBinaryContentId.cpp +++ b/src/base/QXmppBitsOfBinaryContentId.cpp @@ -34,18 +34,18 @@ #define CONTENTID_HASH_SEPARATOR QStringLiteral("+") static const QMap<QCryptographicHash::Algorithm, QString> HASH_ALGORITHMS = { - {QCryptographicHash::Sha1, QStringLiteral("sha1")}, + { QCryptographicHash::Sha1, QStringLiteral("sha1") }, #ifndef QT_CRYPTOGRAPHICHASH_ONLY_SHA1 - {QCryptographicHash::Md4, QStringLiteral("md4")}, - {QCryptographicHash::Md5, QStringLiteral("md5")}, - {QCryptographicHash::Sha224, QStringLiteral("sha224")}, - {QCryptographicHash::Sha256, QStringLiteral("sha256")}, - {QCryptographicHash::Sha384, QStringLiteral("sha384")}, - {QCryptographicHash::Sha512, QStringLiteral("sha512")}, - {QCryptographicHash::Sha3_224, QStringLiteral("sha3-224")}, - {QCryptographicHash::Sha3_256, QStringLiteral("sha3-256")}, - {QCryptographicHash::Sha3_384, QStringLiteral("sha3-384")}, - {QCryptographicHash::Sha3_512, QStringLiteral("sha3-512")}, + { QCryptographicHash::Md4, QStringLiteral("md4") }, + { QCryptographicHash::Md5, QStringLiteral("md5") }, + { QCryptographicHash::Sha224, QStringLiteral("sha224") }, + { QCryptographicHash::Sha256, QStringLiteral("sha256") }, + { QCryptographicHash::Sha384, QStringLiteral("sha384") }, + { QCryptographicHash::Sha512, QStringLiteral("sha512") }, + { QCryptographicHash::Sha3_224, QStringLiteral("sha3-224") }, + { QCryptographicHash::Sha3_256, QStringLiteral("sha3-256") }, + { QCryptographicHash::Sha3_384, QStringLiteral("sha3-384") }, + { QCryptographicHash::Sha3_512, QStringLiteral("sha3-512") }, #endif }; @@ -205,7 +205,7 @@ void QXmppBitsOfBinaryContentId::setAlgorithm(QCryptographicHash::Algorithm algo /// later. /// /// \returns True, if the set hashing algorithm is supported, a hash value is -/// set and its length is correct, false otherwise. +/// set and its length is correct, false otherwise. bool QXmppBitsOfBinaryContentId::isValid() const { |
