🐛 Fix DUE compile and errors (#24809)

This commit is contained in:
Eduardo José Tagle
2022-09-29 19:54:59 -03:00
committed by Scott Lahteine
parent 5aca6ff4f2
commit a58f27763f
6 changed files with 12 additions and 12 deletions

View File

@ -99,8 +99,8 @@ struct Flags {
void set(const int n) { b |= (bits_t)_BV(n); }
void clear(const int n) { b &= ~(bits_t)_BV(n); }
bool test(const int n) const { return TEST(b, n); }
const bool operator[](const int n) { return test(n); }
const bool operator[](const int n) const { return test(n); }
bool operator[](const int n) { return test(n); }
bool operator[](const int n) const { return test(n); }
int size() const { return sizeof(b); }
};