mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 07:17:59 +00:00
🩹 No const on return type
This commit is contained in:
parent
21e3e535a6
commit
53b79f5f70
@ -962,11 +962,11 @@ public:
|
||||
#endif
|
||||
#undef MSET
|
||||
|
||||
FI const bool toggle(const AxisEnum n) { return TBI(bits, n); }
|
||||
FI bool toggle(const AxisEnum n) { TBI(bits, n); return TEST(bits, n); }
|
||||
|
||||
// Accessor via an AxisEnum (or any integer) [index]
|
||||
FI const bool operator[](const int n) const { return TEST(bits, n); }
|
||||
FI const bool operator[](const AxisEnum n) const { return TEST(bits, n); }
|
||||
FI bool operator[](const int n) const { return TEST(bits, n); }
|
||||
FI bool operator[](const AxisEnum n) const { return TEST(bits, n); }
|
||||
|
||||
FI AxisBits& operator|=(const el &p) { bits |= el(p); return *this; }
|
||||
FI AxisBits& operator&=(const el &p) { bits &= el(p); return *this; }
|
||||
|
Loading…
Reference in New Issue
Block a user