Commit f8b7db0b authored by ulukyn's avatar ulukyn

Fixed: Scenographic Editor crash the client (revert bad commit of actions.h)

parent 57057b77
......@@ -281,16 +281,16 @@ public:
// HashMapTraits for NLMISC::TKey
struct CTKeyHashMapTraits
{
//enum { bucket_size = 4, min_buckets = 8, };
//CTKeyHashMapTraits() { }
enum { bucket_size = 4, min_buckets = 8, };
CTKeyHashMapTraits() { }
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;
}*/
}
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment