From 4e851142c24dd215931ad52f5da873232c7ae49d Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 11 Nov 2024 22:36:56 +0100 Subject: [PATCH] Change the operator POP of a DEQUE to pop_front instead of pop_back: it is more inline with what we expects / uses a deque for. (buffer FIFO) --- m-deque.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-deque.h b/m-deque.h index 5e5bd8d5..7937a338 100644 --- a/m-deque.h +++ b/m-deque.h @@ -1105,7 +1105,7 @@ ,RESET(M_F(name,_reset)) \ ,GET_SIZE(M_F(name, _size)) \ ,PUSH(M_F(name,_push_back)) \ - ,POP(M_F(name,_pop_back)) \ + ,POP(M_F(name,_pop_front)) \ ,OPLIST(oplist) \ ,M_IF_METHOD(GET_STR, oplist)(GET_STR(M_F(name, _get_str)),) \ ,M_IF_METHOD(PARSE_STR, oplist)(PARSE_STR(M_F(name, _parse_str)),) \