Make Clone functions for NETINFO_ITEM and PCB_MARKER
This commit is contained in:
parent
098f234311
commit
515aed7408
|
@ -96,6 +96,11 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
EDA_ITEM* Clone() const override
|
||||
{
|
||||
return new NETINFO_ITEM( *this );
|
||||
}
|
||||
|
||||
void SetNetClass( const NETCLASSPTR& aNetClass );
|
||||
|
||||
/**
|
||||
|
|
|
@ -77,6 +77,11 @@ public:
|
|||
return HitTestMarker( aPosition, aAccuracy );
|
||||
}
|
||||
|
||||
EDA_ITEM* Clone() const override
|
||||
{
|
||||
return new PCB_MARKER( *this );
|
||||
}
|
||||
|
||||
GAL_LAYER_ID GetColorLayer() const;
|
||||
|
||||
std::shared_ptr<SHAPE> GetEffectiveShape( PCB_LAYER_ID aLayer ) const override;
|
||||
|
|
Loading…
Reference in New Issue