Some router/DRC performance boost (ZONE::GetZoneName)

This commit is contained in:
Alex Shvartzkop 2023-08-04 23:55:15 +03:00
parent 9de58a29e3
commit 75ace76c6a
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ public:
void SetLayerSet( LSET aLayerSet ) override;
virtual LSET GetLayerSet() const override { return m_layerSet; }
wxString GetZoneName() const { return m_zoneName; }
const wxString& GetZoneName() const { return m_zoneName; }
void SetZoneName( const wxString& aName ) { m_zoneName = aName; }
bool Matches( const EDA_SEARCH_DATA& aSearchData, void* aAuxData ) const override