mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 07:19:28 -05:00
Change FIFO is_full() to make more sense.
This commit is contained in:
parent
ea8c186fcf
commit
b05923eab6
@ -59,7 +59,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool is_full() const {
|
bool is_full() const {
|
||||||
return len() > mask();
|
return unused() == 0;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
bool in(const T& val) {
|
bool in(const T& val) {
|
||||||
|
Loading…
Reference in New Issue
Block a user