Commit 45403b44 authored by Max Kellermann's avatar Max Kellermann

db/update/ExcludeList: add `noexcept`

parent 32f865f1
...@@ -44,10 +44,10 @@ class ExcludeList { ...@@ -44,10 +44,10 @@ class ExcludeList {
#endif #endif
public: public:
ExcludeList() ExcludeList() noexcept
:parent(nullptr) {} :parent(nullptr) {}
ExcludeList(const ExcludeList &_parent) ExcludeList(const ExcludeList &_parent) noexcept
:parent(&_parent) {} :parent(&_parent) {}
gcc_pure gcc_pure
...@@ -62,6 +62,8 @@ public: ...@@ -62,6 +62,8 @@ public:
/** /**
* Loads and parses a .mpdignore file. * Loads and parses a .mpdignore file.
*
* Throws on I/O error.
*/ */
bool Load(InputStreamPtr is); bool Load(InputStreamPtr is);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment