summaryrefslogtreecommitdiff
path: root/src/flags.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/flags.hh')
-rw-r--r--src/flags.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flags.hh b/src/flags.hh
index 4cecd5a5..178f59e6 100644
--- a/src/flags.hh
+++ b/src/flags.hh
@@ -38,7 +38,7 @@ struct TestableFlags
constexpr operator Flags() const { return value; }
constexpr operator UnderlyingType<Flags>() const { return (UnderlyingType<Flags>)value; }
- constexpr bool operator==(const TestableFlags<Flags>& other) const { return value == other.value; }
+ constexpr bool operator==(const TestableFlags<Flags>& other) const = default;
};
template<WithBitOps Flags>