diff --git a/Source/Core/Common/BitSet.h b/Source/Core/Common/BitSet.h index f8506e7c89..752a28faea 100644 --- a/Source/Core/Common/BitSet.h +++ b/Source/Core/Common/BitSet.h @@ -83,8 +83,7 @@ inline int LeastSignificantSetBit(u64 val) } #endif -// namespace avoids conflict with OS X Carbon; don't use BitSet directly -namespace BS +namespace Common { // Similar to std::bitset, this is a class which encapsulates a bitset, i.e. // using the set bits of an integer to represent a set of integers. Like that @@ -207,9 +206,9 @@ public: constexpr Iterator end() const { return Iterator(m_val, -1); } IntTy m_val; }; -} +} // namespace Common -typedef BS::BitSet BitSet8; -typedef BS::BitSet BitSet16; -typedef BS::BitSet BitSet32; -typedef BS::BitSet BitSet64; +using BitSet8 = Common::BitSet; +using BitSet16 = Common::BitSet; +using BitSet32 = Common::BitSet; +using BitSet64 = Common::BitSet;