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)
This commit is contained in:
1 parent
fec6b42260
commit
4e851142c2
1 file changed
+1
-1
@@ -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)),) \
|
||||
|
||||
Reference in new issue
Block a user