Change FIFO is_full() to make more sense.

This commit is contained in:
Jared Boone 2016-01-06 10:58:42 -08:00
parent ea8c186fcf
commit b05923eab6

View File

@ -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) {