summaryrefslogtreecommitdiff
path: root/src/neighbor
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-06-04 12:57:05 +0200
committerMax Kellermann <max@musicpd.org>2017-06-04 12:57:05 +0200
commit979f1b6c39b64770f42ed125c0abf80f4938fdb5 (patch)
tree3d254376552957afc6c6c77661a60954a83e41ce /src/neighbor
parent1fa1790da5a7fb1bd4a5deef36b7ed8d9c60acbc (diff)
parentcf86dfd3178bcdffbb2968cda4ad9c271ffdc4f3 (diff)
Merge tag 'v0.20.9'
release v0.20.9
Diffstat (limited to 'src/neighbor')
-rw-r--r--src/neighbor/plugins/SmbclientNeighborPlugin.cxx4
-rw-r--r--src/neighbor/plugins/UpnpNeighborPlugin.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
index 2354e5fea..e23054bf0 100644
--- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
+++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
@@ -48,12 +48,12 @@ class SmbclientNeighborExplorer final : public NeighborExplorer {
Server(const Server &) = delete;
gcc_pure
- bool operator==(const Server &other) const {
+ bool operator==(const Server &other) const noexcept {
return name == other.name;
}
gcc_pure
- NeighborInfo Export() const {
+ NeighborInfo Export() const noexcept {
return { "smb://" + name + "/", comment };
}
};
diff --git a/src/neighbor/plugins/UpnpNeighborPlugin.cxx b/src/neighbor/plugins/UpnpNeighborPlugin.cxx
index a0ce36817..34e14514f 100644
--- a/src/neighbor/plugins/UpnpNeighborPlugin.cxx
+++ b/src/neighbor/plugins/UpnpNeighborPlugin.cxx
@@ -43,12 +43,12 @@ class UpnpNeighborExplorer final
Server(const Server &) = delete;
gcc_pure
- bool operator==(const Server &other) const {
+ bool operator==(const Server &other) const noexcept {
return name == other.name;
}
gcc_pure
- NeighborInfo Export() const {
+ NeighborInfo Export() const noexcept {
return { "smb://" + name + "/", comment };
}
};