summaryrefslogtreecommitdiff
path: root/src/db/PlaylistVector.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-21 11:36:16 +0100
committerMax Kellermann <max@musicpd.org>2018-01-21 11:36:16 +0100
commit39a1f03d5cf414b27a1c5bbf82c0d65a23e881b3 (patch)
treed014abaf1e0fd0548012a1442112e44566649258 /src/db/PlaylistVector.cxx
parentc6a4a4edf1c51ad3c06b56fe4a3c0aadde99caac (diff)
db/PlaylistVector: add "noexcept"
Diffstat (limited to 'src/db/PlaylistVector.cxx')
-rw-r--r--src/db/PlaylistVector.cxx4
1 files changed, 2 insertions, 2 deletions
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());