aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSort.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-20 13:32:59 +0200
committerMax Kellermann <max@duempel.org>2013-10-20 13:32:59 +0200
commita78b2d84ed7c2a82c69c56125036e70b009a87b0 (patch)
treec8818c4111e9f2138cb66a38e1664ad5aa432bd4 /src/SongSort.cxx
parentcf4d80fc655a399615529bdd27e0be284754c5ab (diff)
downloadmpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.gz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.xz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.zip
TagType: rename enum tag_type to TagType
Diffstat (limited to '')
-rw-r--r--src/SongSort.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SongSort.cxx b/src/SongSort.cxx
index 431d629b0..4d422657a 100644
--- a/src/SongSort.cxx
+++ b/src/SongSort.cxx
@@ -33,7 +33,7 @@ extern "C" {
#include <stdlib.h>
static const char *
-tag_get_value_checked(const Tag *tag, enum tag_type type)
+tag_get_value_checked(const Tag *tag, TagType type)
{
return tag != nullptr
? tag->GetValue(type)
@@ -58,7 +58,7 @@ compare_utf8_string(const char *a, const char *b)
*/
static int
compare_string_tag_item(const Tag *a, const Tag *b,
- enum tag_type type)
+ TagType type)
{
return compare_utf8_string(tag_get_value_checked(a, type),
tag_get_value_checked(b, type));
@@ -84,7 +84,7 @@ compare_number_string(const char *a, const char *b)
}
static int
-compare_tag_item(const Tag *a, const Tag *b, enum tag_type type)
+compare_tag_item(const Tag *a, const Tag *b, TagType type)
{
return compare_number_string(tag_get_value_checked(a, type),
tag_get_value_checked(b, type));