aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/ProxyDatabasePlugin.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/db/ProxyDatabasePlugin.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/db/ProxyDatabasePlugin.cxx')
-rw-r--r--src/db/ProxyDatabasePlugin.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx
index 0cde8bef9..68d3a1128 100644
--- a/src/db/ProxyDatabasePlugin.cxx
+++ b/src/db/ProxyDatabasePlugin.cxx
@@ -63,7 +63,7 @@ public:
Error &error) const override;
virtual bool VisitUniqueTags(const DatabaseSelection &selection,
- enum tag_type tag_type,
+ TagType tag_type,
VisitString visit_string,
Error &error) const override;
@@ -78,7 +78,7 @@ protected:
static constexpr Domain libmpdclient_domain("libmpdclient");
static constexpr struct {
- enum tag_type d;
+ TagType d;
enum mpd_tag_type s;
} tag_table[] = {
{ TAG_ARTIST, MPD_TAG_ARTIST },
@@ -103,7 +103,7 @@ static constexpr struct {
gcc_const
static enum mpd_tag_type
-Convert(enum tag_type tag_type)
+Convert(TagType tag_type)
{
for (auto i = &tag_table[0]; i->d != TAG_NUM_OF_ITEM_TYPES; ++i)
if (i->d == tag_type)
@@ -248,7 +248,7 @@ Visit(struct mpd_connection *connection,
}
static void
-Copy(TagBuilder &tag, enum tag_type d_tag,
+Copy(TagBuilder &tag, TagType d_tag,
const struct mpd_song *song, enum mpd_tag_type s_tag)
{
@@ -405,7 +405,7 @@ ProxyDatabase::Visit(const DatabaseSelection &selection,
bool
ProxyDatabase::VisitUniqueTags(const DatabaseSelection &selection,
- enum tag_type tag_type,
+ TagType tag_type,
VisitString visit_string,
Error &error) const
{