mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 15:20:31 -04:00
Change FIFO is_full() to make more sense.
This commit is contained in:
parent
ea8c186fcf
commit
b05923eab6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue