aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSort.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
committerMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
commitba161ec572b98d3bcf9f735ff122133319fe896a (patch)
treea211690e3a8b7fce1fb6db540228122bead1f2bc /src/SongSort.cxx
parent43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff)
downloadmpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.gz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.xz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.zip
song: convert header to C++
Diffstat (limited to 'src/SongSort.cxx')
-rw-r--r--src/SongSort.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SongSort.cxx b/src/SongSort.cxx
index 8728614e0..299a72042 100644
--- a/src/SongSort.cxx
+++ b/src/SongSort.cxx
@@ -19,7 +19,7 @@
#include "config.h"
#include "SongSort.hxx"
-#include "song.h"
+#include "Song.hxx"
#include "util/list.h"
#include "tag.h"
@@ -94,8 +94,8 @@ compare_tag_item(const struct tag *a, const struct tag *b, enum tag_type type)
static int
song_cmp(G_GNUC_UNUSED void *priv, struct list_head *_a, struct list_head *_b)
{
- const struct song *a = (const struct song *)_a;
- const struct song *b = (const struct song *)_b;
+ const Song *a = (const Song *)_a;
+ const Song *b = (const Song *)_b;
int ret;
/* first sort by album */