queue/Playlist: add noexcept

This commit is contained in:
Max Kellermann
2019-05-31 13:56:09 +02:00
parent de3cd96c76
commit c3ccbfd407
4 changed files with 65 additions and 53 deletions

View File

@@ -29,7 +29,7 @@
#include "Log.hxx"
void
playlist::Stop(PlayerControl &pc)
playlist::Stop(PlayerControl &pc) noexcept
{
if (!playing)
return;
@@ -56,7 +56,7 @@ playlist::Stop(PlayerControl &pc)
}
unsigned
playlist::MoveOrderToCurrent(unsigned old_order)
playlist::MoveOrderToCurrent(unsigned old_order) noexcept
{
if (!queue.random)
/* no-op because there is no order list */