Skip to content
Snippets Groups Projects
Commit cafe0bcb authored by Adam Edward Barton's avatar Adam Edward Barton Committed by Walter Lampl
Browse files

IDC: Remove double nulling

IDC: Remove double nulling
parent 5abd686e
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