mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
thread var initialization fixes
This commit is contained in:
parent
0d4221fa59
commit
835d6f009a
3 changed files with 8 additions and 8 deletions
|
|
@ -389,7 +389,7 @@ inline ThreadSafePriorityQueue< T, K, SORT_MIN_TO_MAX, MAX_LEVEL, PROBABILISTIC_
|
|||
mPriority( priority ),
|
||||
mValue( value )
|
||||
{
|
||||
dMemset( mNext, 0, sizeof( Node* ) * ( getLevel() + 1 ) );
|
||||
dMemset( mNext, 0, sizeof( Node* ) * (U32)( getLevel() + 1 ) );
|
||||
|
||||
// Level is already set by the allocation routines.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class ThreadSafeRefCount
|
|||
|
||||
ThreadSafeRefCount()
|
||||
: mRefCount( 0 ) {}
|
||||
ThreadSafeRefCount( bool noSet ) : mRefCount(0) {}
|
||||
ThreadSafeRefCount( bool noSet ) {}
|
||||
|
||||
bool isShared() const;
|
||||
U32 getRefCount() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue