mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
Fix random class name
This commit is contained in:
parent
7d2a158c0c
commit
d347ba6307
@ -151,8 +151,8 @@ quint64 TextFactory::initializeSecretEncryptionKey() {
|
||||
quint64 TextFactory::generateSecretEncryptionKey() {
|
||||
std::random_device rd;
|
||||
std::mt19937 mt(rd());
|
||||
std::uniform_int<quint64> dist(std::numeric_limits<quint64>().min() + 1000000UL,
|
||||
std::numeric_limits<quint64>().max());
|
||||
std::uniform_int_distribution<quint64> dist(std::numeric_limits<quint64>().min() + 1000000UL,
|
||||
std::numeric_limits<quint64>().max());
|
||||
|
||||
return dist(mt);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user