diff options
Diffstat (limited to 'src/flag_set.hpp')
-rw-r--r-- | src/flag_set.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/flag_set.hpp b/src/flag_set.hpp index 490f0daf..737513d5 100644 --- a/src/flag_set.hpp +++ b/src/flag_set.hpp @@ -99,7 +99,14 @@ public: constexpr bool operator == (flag_set const &other) const { - return m_data == other.m_data; + for (std::size_t i = 0; i < tiers; i++) + { + if (m_data[i] != other.m_data[i]) + { + return false; + } + } + return true; } constexpr bool operator != (flag_set const &other) const |