Commit 9ff1ff75 authored by Max Kellermann's avatar Max Kellermann

tag/Handler: add FullTagHandler constructor with want_mask

parent abea4a24
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment