summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-09-01 14:02:34 +0200
committerMax Kellermann <max@musicpd.org>2019-09-01 14:02:34 +0200
commit45403b44de49b7d115c0d8d29693ee29e32fce91 (patch)
tree8d5ecf4a1d63cbb5d5135627adbdf9fba0615a35 /src/db
parent32f865f146be4995a3e0bcafdf1ac38d81e165c7 (diff)
db/update/ExcludeList: add `noexcept`
Diffstat (limited to 'src/db')
-rw-r--r--src/db/update/ExcludeList.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/db/update/ExcludeList.hxx b/src/db/update/ExcludeList.hxx
index 5d4322e43..60b857ec6 100644
--- a/src/db/update/ExcludeList.hxx
+++ b/src/db/update/ExcludeList.hxx
@@ -44,10 +44,10 @@ class ExcludeList {
#endif
public:
- ExcludeList()
+ ExcludeList() noexcept
:parent(nullptr) {}
- ExcludeList(const ExcludeList &_parent)
+ ExcludeList(const ExcludeList &_parent) noexcept
:parent(&_parent) {}
gcc_pure
@@ -62,6 +62,8 @@ public:
/**
* Loads and parses a .mpdignore file.
+ *
+ * Throws on I/O error.
*/
bool Load(InputStreamPtr is);