mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
Make std::hash specialization for tr_socket_address a struct (#6788)
To be in line with std::hash declaration See https://en.cppreference.com/w/cpp/utility/hash Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
parent
bd0b74fccb
commit
0e25584e78
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ struct tr_socket_address
|
|||
};
|
||||
|
||||
template<>
|
||||
class std::hash<tr_socket_address>
|
||||
struct std::hash<tr_socket_address>
|
||||
{
|
||||
public:
|
||||
std::size_t operator()(tr_socket_address const& socket_address) const noexcept
|
||||
|
|
Loading…
Reference in a new issue