Fix visibility of NET_INFO::SetParent

Without explictly inheriting the base SetParent method, the compiler was
warning a lot about hiding it due to the different argument type of the
new SetParent method.
This commit is contained in:
Ian McInerney 2023-12-11 09:19:07 +00:00
parent 541e0a0aaa
commit 7554e629a8
1 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,10 @@ public:
return 0.0; return 0.0;
} }
protected:
// Hide base SetParent method to make the BOARD* method the prefered method for this class
using EDA_ITEM::SetParent;
private: private:
friend class NETINFO_LIST; friend class NETINFO_LIST;