From b9d9f631b0f97a22161f4d454e0e4334a7833539 Mon Sep 17 00:00:00 2001 From: Louis Rubet Date: Tue, 2 May 2017 17:05:09 +0200 Subject: [PATCH] #50: corrected regression on rot --- src/rpn-stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpn-stack.h b/src/rpn-stack.h index d0cfb25..ef1c901 100644 --- a/src/rpn-stack.h +++ b/src/rpn-stack.h @@ -71,8 +71,8 @@ void rot(void) (void)_stack->pop_back(); (void)_stack->pop_back(); (void)_stack->pop_back(); - stack::copy_and_push_back(_branch_stack, 2, *_stack); stack::copy_and_push_back(_branch_stack, 1, *_stack); + stack::copy_and_push_back(_branch_stack, 2, *_stack); stack::copy_and_push_back(_branch_stack, 0, *_stack); (void)_branch_stack.pop_back(); (void)_branch_stack.pop_back();