mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Fixed: Scenographic Editor crash the client (revert bad commit of actions.h)
This commit is contained in:
parent
57057b7794
commit
f8b7db0bfe
1 changed files with 5 additions and 5 deletions
|
@ -281,16 +281,16 @@ public:
|
||||||
// HashMapTraits for NLMISC::TKey
|
// HashMapTraits for NLMISC::TKey
|
||||||
struct CTKeyHashMapTraits
|
struct CTKeyHashMapTraits
|
||||||
{
|
{
|
||||||
//enum { bucket_size = 4, min_buckets = 8, };
|
enum { bucket_size = 4, min_buckets = 8, };
|
||||||
//CTKeyHashMapTraits() { }
|
CTKeyHashMapTraits() { }
|
||||||
size_t operator() (NLMISC::TKey key) const
|
size_t operator() (NLMISC::TKey key) const
|
||||||
{
|
{
|
||||||
return static_cast<std::size_t>(key);
|
return (size_t)key;
|
||||||
}
|
}
|
||||||
/*bool operator() (NLMISC::TKey key1, NLMISC::TKey key2) const
|
bool operator() (NLMISC::TKey key1, NLMISC::TKey key2) const
|
||||||
{
|
{
|
||||||
return key1 < key2;
|
return key1 < key2;
|
||||||
}*/
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue