diff --git a/src/lib/util/coretmpl.h b/src/lib/util/coretmpl.h index d3989163646..19a0a95cf09 100644 --- a/src/lib/util/coretmpl.h +++ b/src/lib/util/coretmpl.h @@ -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 const &) = delete; fifo(fifo &&) = delete;