refactor: SecureUtils::GenerateFingerprintArt, auto type for char pool
This commit is contained in:
parent
a78702d68f
commit
a37d30c6ab
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ QString generateFingerprintArt(const QByteArray &rawDigest)
|
||||||
const auto baseSize = 8;
|
const auto baseSize = 8;
|
||||||
const auto rows = (baseSize + 1);
|
const auto rows = (baseSize + 1);
|
||||||
const auto columns = (baseSize * 2 + 1);
|
const auto columns = (baseSize * 2 + 1);
|
||||||
const QString characterPool = QStringLiteral(" .o+=*BOX@%&#/^SE");
|
const auto characterPool = QStringLiteral(" .o+=*BOX@%&#/^SE");
|
||||||
const std::size_t len = characterPool.length() - 1;
|
const std::size_t len = characterPool.length() - 1;
|
||||||
|
|
||||||
std::uint8_t field[columns][rows];
|
std::uint8_t field[columns][rows];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue