diff options
| author | Linus Jahn <lnj@kaidan.im> | 2023-02-17 17:36:08 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-02-17 17:36:08 +0100 |
| commit | 98bfe936e25c462df8e3650a436d9db31b237cd9 (patch) | |
| tree | 8343f59859d1ce2b26e55d4718ad96ed86d452b5 /src/client/QXmppFileSharingManager.cpp | |
| parent | aa0fed09a7b1e43469ee0f5052f292eda3b0841a (diff) | |
| download | qxmpp-98bfe936e25c462df8e3650a436d9db31b237cd9.tar.gz | |
Run clang-format
Diffstat (limited to 'src/client/QXmppFileSharingManager.cpp')
| -rw-r--r-- | src/client/QXmppFileSharingManager.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/QXmppFileSharingManager.cpp b/src/client/QXmppFileSharingManager.cpp index f86a1a19..c8964c63 100644 --- a/src/client/QXmppFileSharingManager.cpp +++ b/src/client/QXmppFileSharingManager.cpp @@ -36,12 +36,13 @@ using MetadataGeneratorResult = QXmppFileSharingManager::MetadataGeneratorResult // The manager generates a hash with each hash algorithm static std::vector<HashAlgorithm> hashAlgorithms() { - return { + return + { HashAlgorithm::Sha256, #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) - HashAlgorithm::Blake2b_256, + HashAlgorithm::Blake2b_256, #else - HashAlgorithm::Sha3_256, + HashAlgorithm::Sha3_256, #endif }; } |
