7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 00:21:31 +00:00

Fix compile error due

This commit is contained in:
Marek Roszko 2021-09-22 07:46:53 -04:00
parent 282ac25a6f
commit 08940acf01

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() )