fix a compil warning (shadowed var).

This commit is contained in:
jean-pierre charras 2020-09-01 17:45:59 +02:00
parent 9fdadcbcf5
commit f38631b9ab
1 changed files with 2 additions and 2 deletions

View File

@ -148,11 +148,11 @@ SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS( JSON_SETTINGS* aParent, const std::strin
if( !templateFieldNames.IsEmpty() )
{
TEMPLATE_FIELDNAMES_LEXER lexer( TO_UTF8( templateFieldNames ) );
TEMPLATE_FIELDNAMES_LEXER field_lexer( TO_UTF8( templateFieldNames ) );
try
{
m_TemplateFieldNames.Parse( &lexer, true );
m_TemplateFieldNames.Parse( &field_lexer, true );
}
catch( const IO_ERROR& )
{