| Index: src/utils.h
|
| diff --git a/src/utils.h b/src/utils.h
|
| index c391b9c4327f4bca495e723511289e7abfd2c887..0781c37bd1433f5abc8f8786dd05c2baccfba537 100644
|
| --- a/src/utils.h
|
| +++ b/src/utils.h
|
| @@ -1019,6 +1019,9 @@ class EnumSet {
|
| void Intersect(const EnumSet& set) { bits_ &= set.bits_; }
|
| T ToIntegral() const { return bits_; }
|
| bool operator==(const EnumSet& set) { return bits_ == set.bits_; }
|
| + EnumSet<E, T> operator|(const EnumSet& set) const {
|
| + return EnumSet<E, T>(bits_ | set.bits_);
|
| + }
|
|
|
| private:
|
| T Mask(E element) const {
|
|
|