diff options
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/ProxyDatabasePlugin.cxx | 10 | ||||
-rw-r--r-- | src/db/SimpleDatabasePlugin.cxx | 2 | ||||
-rw-r--r-- | src/db/SimpleDatabasePlugin.hxx | 2 |
3 files changed, 7 insertions, 7 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 { diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx index 6f30e4b61..55c9d47a8 100644 --- a/src/db/SimpleDatabasePlugin.cxx +++ b/src/db/SimpleDatabasePlugin.cxx @@ -263,7 +263,7 @@ SimpleDatabase::Visit(const DatabaseSelection &selection, bool SimpleDatabase::VisitUniqueTags(const DatabaseSelection &selection, - enum tag_type tag_type, + TagType tag_type, VisitString visit_string, Error &error) const { diff --git a/src/db/SimpleDatabasePlugin.hxx b/src/db/SimpleDatabasePlugin.hxx index bd112f8f3..acf1b9426 100644 --- a/src/db/SimpleDatabasePlugin.hxx +++ b/src/db/SimpleDatabasePlugin.hxx @@ -77,7 +77,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; |