mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Make nohash operator() const.
This commit is contained in:
parent
bf7cc0a0d5
commit
b9dc9f043c
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user