Commit 4208fe29 authored by Max Kellermann's avatar Max Kellermann

tag/Mask: add method Unset()

parent 1b593462
...@@ -87,6 +87,10 @@ public: ...@@ -87,6 +87,10 @@ public:
void Set(TagType tag) { void Set(TagType tag) {
*this |= tag; *this |= tag;
} }
void Unset(TagType tag) {
*this |= ~TagMask(tag);
}
}; };
#endif #endif
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