diff options
author | Max Kellermann <max@duempel.org> | 2013-10-20 13:32:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-20 13:32:59 +0200 |
commit | a78b2d84ed7c2a82c69c56125036e70b009a87b0 (patch) | |
tree | c8818c4111e9f2138cb66a38e1664ad5aa432bd4 /src/DatabasePrint.cxx | |
parent | cf4d80fc655a399615529bdd27e0be284754c5ab (diff) | |
download | mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.gz mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.xz mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.zip |
TagType: rename enum tag_type to TagType
Diffstat (limited to 'src/DatabasePrint.cxx')
-rw-r--r-- | src/DatabasePrint.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |