mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 12:09:06 +00:00
Changed: Minor changes
This commit is contained in:
parent
d1408f483e
commit
bd2257568d
4 changed files with 4 additions and 4 deletions
|
@ -61,7 +61,7 @@ public:
|
|||
class CClassIdHashMapTraits
|
||||
{
|
||||
public:
|
||||
enum { bucket_size = 4, min_buckets = 8, };
|
||||
enum { bucket_size = 4, min_buckets = 8 };
|
||||
inline size_t operator() ( const CClassId& classId ) const
|
||||
{
|
||||
return ((((uint64)classId >> 32)|0xFFFFFFFF) ^ (((uint64)classId|0xFFFFFFFF) & 0xFFFFFFFF));
|
||||
|
|
|
@ -575,7 +575,7 @@ public:
|
|||
// Traits for hash_map using CEntityId
|
||||
struct CEntityIdHashMapTraits
|
||||
{
|
||||
enum { bucket_size = 4, min_buckets = 8, };
|
||||
enum { bucket_size = 4, min_buckets = 8 };
|
||||
CEntityIdHashMapTraits() { }
|
||||
size_t operator() (const NLMISC::CEntityId &id ) const
|
||||
{
|
||||
|
|
|
@ -248,7 +248,7 @@ private :
|
|||
class CSheetIdHashMapTraits
|
||||
{
|
||||
public:
|
||||
enum { bucket_size = 4, min_buckets = 8, };
|
||||
enum { bucket_size = 4, min_buckets = 8 };
|
||||
inline size_t operator() ( const CSheetId& sheetId ) const
|
||||
{
|
||||
return sheetId.asInt() >> 5;
|
||||
|
|
|
@ -39,7 +39,7 @@ typedef const std::string *TStringId;
|
|||
// Traits for hash_map using CStringId
|
||||
struct CStringIdHashMapTraits
|
||||
{
|
||||
enum { bucket_size = 4, min_buckets = 8, };
|
||||
enum { bucket_size = 4, min_buckets = 8 };
|
||||
CStringIdHashMapTraits() { }
|
||||
size_t operator() (const NLMISC::TStringId &stringId) const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue