inline bool never_shrink( size_t, size_t ) { return false; }
inline bool grow_lf70( size_t buckets, size_t items )
{
- return float(items)/float(buckets) >= 0.85;
+ return float(items)/float(buckets) >= 0.85f;
}
#endif // various hash map implementations
/* count() == 0 | 1 */ \
size_type count( const const_key_type& key ) \
{ \
- /* explicit cast needed to suppress CodeWarrior warnings */ \
- return (size_type)(GetNode( key ) ? 1 : 0); \
+ return GetNode( key ) ? 1u : 0u; \
} \
}