Remove an outdated comment
QRandomGenerator is now used to seed QHash, so the comment is wrong. Change-Id: Ic50fe95ea4169b55290cc758f5aebfbb0a3ea085 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
3a2fa3fec5
commit
75514103e2
@ -271,14 +271,6 @@ uint qHash(QLatin1String key, uint seed) noexcept
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\internal
|
\internal
|
||||||
|
|
||||||
Creates the QHash random seed from various sources.
|
|
||||||
In order of decreasing precedence:
|
|
||||||
- under Unix, it attemps to read from /dev/urandom;
|
|
||||||
- under Unix, it attemps to read from /dev/random;
|
|
||||||
- under Windows, it attempts to use rand_s;
|
|
||||||
- as a general fallback, the application's PID, a timestamp and the
|
|
||||||
address of a stack-local variable are used.
|
|
||||||
*/
|
*/
|
||||||
static uint qt_create_qhash_seed()
|
static uint qt_create_qhash_seed()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user