clang-tidy: use braced init list (#7998)

This commit is contained in:
Rosen Penev
2023-01-29 07:05:44 -08:00
committed by GitHub
parent 0f7ef275ab
commit 318157d242
34 changed files with 87 additions and 87 deletions

View File

@@ -49,11 +49,11 @@ static QString getNameForHashType(const Totp::Algorithm hashType)
{
switch (hashType) {
case Totp::Algorithm::Sha512:
return QString("SHA512");
return "SHA512";
case Totp::Algorithm::Sha256:
return QString("SHA256");
return "SHA256";
default:
return QString("SHA1");
return "SHA1";
}
}