there you go, Robbbbbbbbert (nw)

This commit is contained in:
Vas Crabb 2016-11-01 21:11:08 +11:00
parent 1b59930f29
commit c96ed5b4a6

View File

@ -431,7 +431,7 @@ public:
, m_tail(this->end())
, m_empty(true)
{
static_assert(0U < N);
static_assert(0U < N, "FIFO must have at least one element");
}
fifo(fifo<T, N, WriteWrap, ReadWrap> const &) = delete;
fifo(fifo<T, N, WriteWrap, ReadWrap> &&) = delete;