db/update/ExcludeList: add noexcept

This commit is contained in:
Max Kellermann 2019-09-01 14:02:34 +02:00
parent 32f865f146
commit 45403b44de

View File

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