summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-08-10 12:25:33 +0200
committerMax Kellermann <max@musicpd.org>2017-08-10 13:12:13 +0200
commit796956970e26e5ea1730d9f070014f592ab9c082 (patch)
treed32dfddfcdac297516e6eb4627cb59a0d1395105 /src/net
parentc0020142da6f5f012b4ae93017634e78abaadc9d (diff)
net/StaticSocketAddress: pass SocketAddress by value to operator!=
Diffstat (limited to 'src/net')
-rw-r--r--src/net/StaticSocketAddress.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx
index 72287a8d1..2305379aa 100644
--- a/src/net/StaticSocketAddress.hxx
+++ b/src/net/StaticSocketAddress.hxx
@@ -120,7 +120,7 @@ public:
return (SocketAddress)*this == other;
}
- bool operator!=(SocketAddress &other) const noexcept {
+ bool operator!=(SocketAddress other) const noexcept {
return !(*this == other);
}
};