Skip to content

Commit

Permalink
CUtlHashtable: comment the crashable assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Wend4r committed Nov 25, 2024
1 parent f300de5 commit 7c24972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/tier1/utlhashtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ CUtlHashtable<K,V,H,E,A,T> &CUtlHashtable<K,V,H,E,A,T>::operator=( CUtlHashtable
{
// If this assert trips, double-check that both hashtables
// have the same hash function pointers or hash functor state!
Assert( m_hash(srcTable[i]->m_key) == src.m_hash(srcTable[i]->m_key) );
// Assert( m_hash(srcTable[i]->m_key) == src.m_hash(srcTable[i]->m_key) );
int newIdx = DoInsertUnconstructed( srcTable[i].flags_and_hash , false );
Construct( m_table[newIdx].Raw(), *srcTable[i].Raw() ); // copy construct KVPair
}
Expand Down

0 comments on commit 7c24972

Please sign in to comment.