diff --git a/src/db/PlaylistVector.cxx b/src/db/PlaylistVector.cxx index 26269b88b..91aa0aa89 100644 --- a/src/db/PlaylistVector.cxx +++ b/src/db/PlaylistVector.cxx @@ -36,7 +36,7 @@ PlaylistVector::find(const char *name) noexcept } bool -PlaylistVector::UpdateOrInsert(PlaylistInfo &&pi) +PlaylistVector::UpdateOrInsert(PlaylistInfo &&pi) noexcept { assert(holding_db_lock()); @@ -53,7 +53,7 @@ PlaylistVector::UpdateOrInsert(PlaylistInfo &&pi) } bool -PlaylistVector::erase(const char *name) +PlaylistVector::erase(const char *name) noexcept { assert(holding_db_lock()); diff --git a/src/db/PlaylistVector.hxx b/src/db/PlaylistVector.hxx index 5a7f9f973..9075706f3 100644 --- a/src/db/PlaylistVector.hxx +++ b/src/db/PlaylistVector.hxx @@ -45,12 +45,12 @@ public: * * @return true if the vector or one of its items was modified */ - bool UpdateOrInsert(PlaylistInfo &&pi); + bool UpdateOrInsert(PlaylistInfo &&pi) noexcept; /** * Caller must lock the #db_mutex. */ - bool erase(const char *name); + bool erase(const char *name) noexcept; }; #endif /* SONGVEC_H */