1
0
mirror of https://github.com/EduApps-CDG/OpenDX synced 2024-12-30 09:45:37 +01:00

[util] Add == and != operator to Flags

This commit is contained in:
Philip Rebohle 2018-06-06 23:09:23 +02:00
parent e8ac81fe8a
commit 518c260ad6
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -79,6 +79,14 @@ namespace dxvk {
Flags operator ^ (const Flags& other) const {
return Flags(m_bits ^ other.m_bits);
}
bool operator == (const Flags& other) const {
return m_bits == other.m_bits;
}
bool operator != (const Flags& other) const {
return m_bits != other.m_bits;
}
private: