diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-10-04 00:33:24 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-10-04 00:36:58 +1300 |
| commit | 83fa504cd92a9924b529f7d01d5454713bfb9298 (patch) | |
| tree | bd9b37a7b8b7651505e6cdd8925b70f115d117e9 /Source/Core | |
| parent | 6658d21215e459591ffc1c007def8e015ee4b4d9 (diff) | |
Bitset: Make cast overrides const
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/BitSet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/BitSet.h b/Source/Core/Common/BitSet.h index caa59c150f..6abae8bf22 100644 --- a/Source/Core/Common/BitSet.h +++ b/Source/Core/Common/BitSet.h @@ -164,8 +164,8 @@ public: BitSet& operator|=(BitSet other) { return *this = *this | other; } BitSet& operator&=(BitSet other) { return *this = *this & other; } BitSet& operator^=(BitSet other) { return *this = *this ^ other; } - operator u32() = delete; - operator bool() { return m_val != 0; } + operator u32() const = delete; + operator bool() const { return m_val != 0; } // Warning: Even though on modern CPUs this is a single fast instruction, // Dolphin's official builds do not currently assume POPCNT support on x86, |
