Add missing const to Matches

This commit is contained in:
Dominik Wernberger 2021-01-12 08:06:08 +01:00 committed by Seth Hillbrand
parent dc02ec9758
commit ad97fabfd3
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public:
wxString GetZoneName() const { return m_zoneName; }
void SetZoneName( const wxString& aName ) { m_zoneName = aName; }
bool Matches( wxFindReplaceData& aSearchData, void* aAuxData ) override
bool Matches( const wxFindReplaceData& aSearchData, void* aAuxData ) const override
{
return BOARD_ITEM::Matches( GetZoneName(), aSearchData );
}