7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 19:03:45 +00:00

pcbnew: default arguments for the constructor of PCBEXPR_CONTEXT

This commit is contained in:
Tomasz Wlostowski 2024-01-09 18:45:21 +01:00
parent ad66ea60df
commit d37bdfbfe8

View File

@ -52,7 +52,7 @@ public:
class PCBEXPR_CONTEXT : public LIBEVAL::CONTEXT
{
public:
PCBEXPR_CONTEXT( int aConstraint, PCB_LAYER_ID aLayer ) :
PCBEXPR_CONTEXT( int aConstraint = 0, PCB_LAYER_ID aLayer = F_Cu ) :
m_constraint( aConstraint ),
m_layer( aLayer )
{