Skip to content
Snippets Groups Projects
Commit e56a8a1d authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'IDCChange' into '23.0'

IDC: Remove double nulling

See merge request !64204
parents 50298590 cafe0bcb
No related branches found
No related tags found
2 merge requests!64264Daily merge of 23.0 into main,!64204IDC: Remove double nulling
......@@ -35,7 +35,6 @@ IdentifiableCacheBase::IdentifiableCacheBase (IdentifierHash maxHash,
m_maker (maker), m_NMutexes(lockBucketSize), m_currentHashes(0)
{
if(m_NMutexes>0) m_HoldingMutexes = std::make_unique<mutexPair[]>(m_NMutexes);
for(auto &h : m_vec) h.store(nullptr, std::memory_order_relaxed); //Ensure initialized to null - I'm not sure if this is implicit
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment