tag/Mask: add method Unset()

This commit is contained in:
Max Kellermann 2018-08-10 18:35:29 +02:00
parent 1b593462d3
commit 4208fe29b5

View File

@ -87,6 +87,10 @@ public:
void Set(TagType tag) {
*this |= tag;
}
void Unset(TagType tag) {
*this |= ~TagMask(tag);
}
};
#endif