From 45403b44de49b7d115c0d8d29693ee29e32fce91 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 1 Sep 2019 14:02:34 +0200 Subject: [PATCH] db/update/ExcludeList: add `noexcept` --- src/db/update/ExcludeList.hxx | 6 ++++-- 1 file 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);