aboutsummaryrefslogtreecommitdiffstats
path: root/src/cue/CueParser.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/cue/CueParser.cxx
parentcf4d80fc655a399615529bdd27e0be284754c5ab (diff)
downloadmpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.gz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.xz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.zip
TagType: rename enum tag_type to TagType
Diffstat (limited to 'src/cue/CueParser.cxx')
-rw-r--r--src/cue/CueParser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cue/CueParser.cxx b/src/cue/CueParser.cxx
index f52f8526f..60b33b6b4 100644
--- a/src/cue/CueParser.cxx
+++ b/src/cue/CueParser.cxx
@@ -109,7 +109,7 @@ cue_next_value(char **pp)
}
static void
-cue_add_tag(Tag &tag, enum tag_type type, char *p)
+cue_add_tag(Tag &tag, TagType type, char *p)
{
const char *value = cue_next_value(&p);
if (value != nullptr)
@@ -124,7 +124,7 @@ cue_parse_rem(char *p, Tag &tag)
if (type == nullptr)
return;
- enum tag_type type2 = tag_name_parse_i(type);
+ TagType type2 = tag_name_parse_i(type);
if (type2 != TAG_NUM_OF_ITEM_TYPES)
cue_add_tag(tag, type2, p);
}
@@ -198,7 +198,7 @@ CueParser::Feed2(char *p)
CD artist, while at track-level it specifies the
track artist." */
- enum tag_type type = state == TRACK
+ TagType type = state == TRACK
? TAG_ARTIST
: TAG_ALBUM_ARTIST;