diff options
Diffstat (limited to 'Kernel/Net/IPv4SocketTuple.h')
-rw-r--r-- | Kernel/Net/IPv4SocketTuple.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/IPv4SocketTuple.h b/Kernel/Net/IPv4SocketTuple.h index a63d3aca71..c763a4ab7f 100644 --- a/Kernel/Net/IPv4SocketTuple.h +++ b/Kernel/Net/IPv4SocketTuple.h @@ -29,7 +29,7 @@ public: IPv4Address peer_address() const { return m_peer_address; }; u16 peer_port() const { return m_peer_port; }; - bool operator==(const IPv4SocketTuple& other) const + bool operator==(IPv4SocketTuple const& other) const { return other.local_address() == m_local_address && other.local_port() == m_local_port && other.peer_address() == m_peer_address && other.peer_port() == m_peer_port; }; @@ -57,7 +57,7 @@ namespace AK { template<> struct Traits<Kernel::IPv4SocketTuple> : public GenericTraits<Kernel::IPv4SocketTuple> { - static unsigned hash(const Kernel::IPv4SocketTuple& tuple) + static unsigned hash(Kernel::IPv4SocketTuple const& tuple) { auto h1 = pair_int_hash(tuple.local_address().to_u32(), tuple.local_port()); auto h2 = pair_int_hash(tuple.peer_address().to_u32(), tuple.peer_port()); |