Make nohash operator() const.

This commit is contained in:
Bartosz Taudul 2019-01-20 18:41:26 +01:00
parent bf7cc0a0d5
commit b9dc9f043c

View File

@ -31,7 +31,7 @@ struct power_of_two_hash_policy;
template<typename T>
struct nohash
{
size_t operator()( const T& v ) { return (size_t)v; }
size_t operator()( const T& v ) const { return (size_t)v; }
typedef tracy::power_of_two_hash_policy hash_policy;
};