*: add lost of "noexcept" specifications

This commit is contained in:
Max Kellermann
2017-06-03 21:33:44 +02:00
parent 62b03cfddf
commit a057b4f6d8
65 changed files with 246 additions and 241 deletions

View File

@@ -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 };
}
};

View File

@@ -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 };
}
};