aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/simple/SongSort.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-10 21:15:40 +0200
committerMax Kellermann <max@duempel.org>2014-06-16 18:39:16 +0200
commit3ca0a39a357d9be9c85de4892ac02716f8af2ae8 (patch)
tree88c87573974f6609a1dc68cf20e5901600613280 /src/db/plugins/simple/SongSort.hxx
parent52594e64d0f48eb83c9bf54eb1ac95a6de881829 (diff)
downloadmpd-3ca0a39a357d9be9c85de4892ac02716f8af2ae8.tar.gz
mpd-3ca0a39a357d9be9c85de4892ac02716f8af2ae8.tar.xz
mpd-3ca0a39a357d9be9c85de4892ac02716f8af2ae8.zip
db/simple: use class boost::intrusive::list
Remove the C list_head library and use type-safe C++ instead.
Diffstat (limited to 'src/db/plugins/simple/SongSort.hxx')
-rw-r--r--src/db/plugins/simple/SongSort.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/db/plugins/simple/SongSort.hxx b/src/db/plugins/simple/SongSort.hxx
index 28b903532..2a0c4383b 100644
--- a/src/db/plugins/simple/SongSort.hxx
+++ b/src/db/plugins/simple/SongSort.hxx
@@ -20,9 +20,11 @@
#ifndef MPD_SONG_SORT_HXX
#define MPD_SONG_SORT_HXX
+#include "Song.hxx"
+
struct list_head;
void
-song_list_sort(list_head *songs);
+song_list_sort(SongList &songs);
#endif