Fixed indents

This commit is contained in:
Rainer Deyke 2022-04-04 15:07:29 +02:00
parent 56ae5bbafb
commit 5583bab9d4

View File

@ -315,7 +315,7 @@ constexpr Key operator-(uint32_t a, Key b) {
} }
constexpr Key &operator-=(Key &a, int b) { constexpr Key &operator-=(Key &a, int b) {
a = static_cast<Key>(static_cast<int>(a) - static_cast<int>(b)); a = static_cast<Key>(static_cast<int>(a) - static_cast<int>(b));
return a; return a;
} }
@ -340,17 +340,17 @@ constexpr Key operator|(Key a, Key b) {
} }
constexpr Key &operator|=(Key &a, Key b) { constexpr Key &operator|=(Key &a, Key b) {
a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b)); a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b));
return a; return a;
} }
constexpr Key &operator|=(Key &a, KeyModifierMask b) { constexpr Key &operator|=(Key &a, KeyModifierMask b) {
a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b)); a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b));
return a; return a;
} }
constexpr Key &operator&=(Key &a, KeyModifierMask b) { constexpr Key &operator&=(Key &a, KeyModifierMask b) {
a = static_cast<Key>(static_cast<int>(a) & static_cast<int>(b)); a = static_cast<Key>(static_cast<int>(a) & static_cast<int>(b));
return a; return a;
} }