mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-19 12:22:47 +01:00
Fix random class name
This commit is contained in:
parent
7d2a158c0c
commit
d347ba6307
@ -151,7 +151,7 @@ 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::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