mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Partial update to CUtlSymbolTable & CUtlSymbolTableLarge
This commit is contained in:
@ -125,7 +125,7 @@ protected:
|
||||
|
||||
struct UtlSymTableHashFunctor
|
||||
{
|
||||
ptrdiff_t m_ownerOffset;
|
||||
//ptrdiff_t m_ownerOffset;
|
||||
|
||||
UtlSymTableHashFunctor();
|
||||
unsigned int operator()( UtlSymTableAltKey k ) const;
|
||||
@ -134,7 +134,7 @@ protected:
|
||||
|
||||
struct UtlSymTableEqualFunctor
|
||||
{
|
||||
ptrdiff_t m_ownerOffset;
|
||||
//ptrdiff_t m_ownerOffset;
|
||||
|
||||
UtlSymTableEqualFunctor();
|
||||
bool operator()( int a, int b ) const;
|
||||
@ -147,7 +147,7 @@ protected:
|
||||
|
||||
Hashtable_t m_HashTable;
|
||||
MemBlocksVec_t m_MemBlocks;
|
||||
CUtlMemoryBlockAllocator m_MemBlockAllocator;
|
||||
CUtlMemoryBlockAllocator<byte> m_MemBlockAllocator;
|
||||
|
||||
bool m_bInsensitive;
|
||||
};
|
||||
|
@ -227,12 +227,12 @@ private:
|
||||
};
|
||||
|
||||
typedef CUtlHashtable<UtlSymLargeId_t, empty_t, UtlSymTableLargeHashFunctor, UtlSymTableLargeEqualFunctor, UtlSymTableLargeAltKey> Hashtable_t;
|
||||
typedef CUtlVectorRawAllocator< MemBlockHandle_t > MemBlocksVec_t;
|
||||
typedef CUtlLeanVector< MemBlockHandle_t > MemBlocksVec_t;
|
||||
|
||||
Hashtable_t m_HashTable;
|
||||
MemBlocksVec_t m_MemBlocks;
|
||||
MUTEX_TYPE m_Mutex;
|
||||
CUtlMemoryBlockAllocator m_MemBlockAllocator;
|
||||
CUtlMemoryBlockAllocator<byte> m_MemBlockAllocator;
|
||||
int m_nElementLimit;
|
||||
bool m_bThrowError;
|
||||
};
|
||||
|
Reference in New Issue
Block a user