Fix compile error due

This commit is contained in:
Marek Roszko 2021-09-22 07:46:53 -04:00
parent 282ac25a6f
commit 08940acf01
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ OPT<std::string> GetLayerName( const SEXPR::SEXPR& aLayerElem )
if( aLayerElem.GetNumberOfChildren() == 2 )
{
const SEXPR* layerChild = *aLayerElem.GetChild( 1 );
const SEXPR::SEXPR& layerChild = *aLayerElem.GetChild( 1 );
// The layer child can be quoted (string) or unquoted (symbol) depending on PCB version.
if( layerChild.IsString() )