From cd740c5924b7449de22aa7582074094335c3fdf6 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Wed, 8 Feb 2017 09:02:52 +0000 Subject: [PATCH] changed: in Parser: oper.erase( --oper.end() ) changed to oper.pop_back() to allow use of the STL port (reported on the ttmath forum by Sebo) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@1047 e52654a7-88a9-db11-a3e9-0013d4bc506e --- ttmath/ttmathparser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttmath/ttmathparser.h b/ttmath/ttmathparser.h index a7f39d2..4b49c04 100644 --- a/ttmath/ttmathparser.h +++ b/ttmath/ttmathparser.h @@ -1975,7 +1975,7 @@ typename OperatorsTable::iterator iter_old, iter_new; if( iter_new == operators_table.end() || !IsSubstring(iter_new->first, oper) ) { - oper.erase( --oper.end() ); // we've got mininum one element + oper.pop_back(); // we've got mininum one element if( iter_old != operators_table.end() && iter_old->first == oper ) {