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
This commit is contained in:
parent
46ed8c3108
commit
cd740c5924
|
@ -1975,7 +1975,7 @@ typename OperatorsTable::iterator iter_old, iter_new;
|
||||||
|
|
||||||
if( iter_new == operators_table.end() || !IsSubstring(iter_new->first, oper) )
|
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 )
|
if( iter_old != operators_table.end() && iter_old->first == oper )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue