summaryrefslogtreecommitdiff
path: root/src/tag
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-07-06 12:44:22 +0200
committerMax Kellermann <max@musicpd.org>2018-07-06 12:44:58 +0200
commit9ff1ff75cb9c7be2745398f28bdf0ce09b0501d9 (patch)
tree7f923734aa8f01834082c879e644abb237066592 /src/tag
parentabea4a24ba4d0ff2fa9ff15a5169d58b6d920cef (diff)
tag/Handler: add FullTagHandler constructor with want_mask
Diffstat (limited to 'src/tag')
-rw-r--r--src/tag/Handler.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tag/Handler.hxx b/src/tag/Handler.hxx
index 1eec14cbc..414daf965 100644
--- a/src/tag/Handler.hxx
+++ b/src/tag/Handler.hxx
@@ -116,9 +116,13 @@ public:
* attribute.
*/
class FullTagHandler : public AddTagHandler {
+protected:
+ FullTagHandler(unsigned _want_mask, TagBuilder &_builder) noexcept
+ :AddTagHandler(WANT_PAIR|_want_mask, _builder) {}
+
public:
explicit FullTagHandler(TagBuilder &_builder) noexcept
- :AddTagHandler(WANT_PAIR, _builder) {}
+ :FullTagHandler(0, _builder) {}
void OnPair(const char *key, const char *value) noexcept override;
};