From ed68fd4ab33ec3904b777e61a8bb1bffd2346ad1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 27 Oct 2016 22:19:26 +0200 Subject: [PATCH] queue/PlaylistUpdate: include cleanup --- src/playlist/PlaylistStream.cxx | 1 - src/queue/PlaylistEdit.cxx | 1 - src/queue/PlaylistUpdate.cxx | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/playlist/PlaylistStream.cxx b/src/playlist/PlaylistStream.cxx index fc3a5586b..a85829009 100644 --- a/src/playlist/PlaylistStream.cxx +++ b/src/playlist/PlaylistStream.cxx @@ -21,7 +21,6 @@ #include "PlaylistStream.hxx" #include "PlaylistRegistry.hxx" #include "util/UriUtil.hxx" -#include "util/Error.hxx" #include "input/InputStream.hxx" #include "input/LocalOpen.hxx" #include "fs/Path.hxx" diff --git a/src/queue/PlaylistEdit.cxx b/src/queue/PlaylistEdit.cxx index e562fd02e..8a5db3216 100644 --- a/src/queue/PlaylistEdit.cxx +++ b/src/queue/PlaylistEdit.cxx @@ -28,7 +28,6 @@ #include "Listener.hxx" #include "PlaylistError.hxx" #include "player/Control.hxx" -#include "util/Error.hxx" #include "DetachedSong.hxx" #include "SongLoader.hxx" diff --git a/src/queue/PlaylistUpdate.cxx b/src/queue/PlaylistUpdate.cxx index 208b15222..6c3d55641 100644 --- a/src/queue/PlaylistUpdate.cxx +++ b/src/queue/PlaylistUpdate.cxx @@ -21,9 +21,9 @@ #include "Playlist.hxx" #include "db/Interface.hxx" #include "db/LightSong.hxx" -#include "db/DatabaseError.hxx" #include "DetachedSong.hxx" -#include "util/Error.hxx" + +#include static bool UpdatePlaylistSong(const Database &db, DetachedSong &song)