mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
Common/Bitset: Make initializer_list constructor constexpr
This was able to be constexpr since C++14.
This commit is contained in:
parent
6db2171fd0
commit
6446fa7e48
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public:
|
|||
|
||||
constexpr BitSet() : m_val(0) {}
|
||||
constexpr explicit BitSet(IntTy val) : m_val(val) {}
|
||||
BitSet(std::initializer_list<int> init)
|
||||
constexpr BitSet(std::initializer_list<int> init)
|
||||
{
|
||||
m_val = 0;
|
||||
for (int bit : init)
|
||||
|
|
Loading…
Add table
Reference in a new issue