From c96ed5b4a6cf89ad835d303bf77def32714bb43d Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 1 Nov 2016 21:11:08 +1100 Subject: [PATCH] there you go, Robbbbbbbbert (nw) --- src/lib/util/coretmpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;