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/DatabasePrint.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/DatabasePrint.cxx') diff --git a/src/DatabasePrint.cxx b/src/DatabasePrint.cxx index 101383488..3732e98f3 100644 --- a/src/DatabasePrint.cxx +++ b/src/DatabasePrint.cxx @@ -208,7 +208,7 @@ PrintSongURIVisitor(Client &client, Song &song) } static bool -PrintUniqueTag(Client &client, enum tag_type tag_type, +PrintUniqueTag(Client &client, TagType tag_type, const char *value) { client_printf(client, "%s: %s\n", tag_item_names[tag_type], value); @@ -234,8 +234,8 @@ listAllUniqueTags(Client &client, int type, } else { using namespace std::placeholders; const auto f = std::bind(PrintUniqueTag, std::ref(client), - (enum tag_type)type, _1); - return db->VisitUniqueTags(selection, (enum tag_type)type, + (TagType)type, _1); + return db->VisitUniqueTags(selection, (TagType)type, f, error); } } -- cgit v1.2.3