diff --git a/code/ryzom/client/src/actions.h b/code/ryzom/client/src/actions.h index 51499f43e..b177c1818 100644 --- a/code/ryzom/client/src/actions.h +++ b/code/ryzom/client/src/actions.h @@ -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(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; - }*/ + } }; /**