X-Git-Url: https://git.proxmox.com/?p=ceph.git;a=blobdiff_plain;f=ceph%2Fsrc%2Fseastar%2Finclude%2Fseastar%2Fcore%2Fqueue.hh;h=b341307df3da3fd586b2604d6c95bdab2c27173d;hp=8e7daec9d318f068ed598c4a07d0ad06b20433f7;hb=1e59de90020f1d8d374046ef9cca56ccd4e806e2;hpb=bd41e436e25044e8e83156060a37c23cb661c364 diff --git a/ceph/src/seastar/include/seastar/core/queue.hh b/ceph/src/seastar/include/seastar/core/queue.hh index 8e7daec9d..b341307df 100644 --- a/ceph/src/seastar/include/seastar/core/queue.hh +++ b/ceph/src/seastar/include/seastar/core/queue.hh @@ -209,6 +209,7 @@ T queue::pop() noexcept { // as T is required to be nothrow_move_constructible // and std::queue::pop won't throw since it uses // seastar::circular_beffer::pop_front. + assert(!_q.empty()); T data = std::move(_q.front()); _q.pop(); return data;