QHash: unexport the hash seed variable
The only allowed way to access the variable is now via the public qGlobalQHashSeed and qSetGlobalQHashSeed functions. The variable was private API, so we're allowed to remove it. Task-number: QTBUG-47566 Change-Id: I4a7dc1fe14154695b968fffd14abd331e5810482 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
parent
2c935ef565
commit
202d6ad730
@ -325,7 +325,7 @@ static uint qt_create_qhash_seed()
|
||||
/*
|
||||
The QHash seed itself.
|
||||
*/
|
||||
Q_CORE_EXPORT QBasicAtomicInt qt_qhash_seed = Q_BASIC_ATOMIC_INITIALIZER(-1);
|
||||
static QBasicAtomicInt qt_qhash_seed = Q_BASIC_ATOMIC_INITIALIZER(-1);
|
||||
|
||||
/*!
|
||||
\internal
|
||||
|
Loading…
Reference in New Issue
Block a user