summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-02-16 13:39:52 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-03-13 15:23:56 +0100
commit75514103e2f1cb7dc6b238d696b228e8f64a00ec (patch)
tree0170e773a78b739a4cba68f3bda68e7a192dab0e /src/corelib
parent3a2fa3fec5a43d30f1a93a8e89e2973f23ee4ef3 (diff)
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>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qhash.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp
index 1e5af7e0ce..46f87f4902 100644
--- a/src/corelib/tools/qhash.cpp
+++ b/src/corelib/tools/qhash.cpp
@@ -271,14 +271,6 @@ uint qHash(QLatin1String key, uint seed) noexcept
/*!
\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()
{