From a78b2d84ed7c2a82c69c56125036e70b009a87b0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 20 Oct 2013 13:32:59 +0200 Subject: TagType: rename enum tag_type to TagType --- src/SongSort.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/SongSort.cxx') 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 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)); -- cgit v1.2.3