Hide EDA_ITEM ctors to prevent direct instantiation of abstract class.

This commit is contained in:
Simon Richter 2015-01-29 10:27:24 -05:00 committed by Wayne Stambaugh
parent 3838082bf3
commit f5d9d09e04
1 changed files with 4 additions and 1 deletions

View File

@ -188,11 +188,14 @@ private:
void initVars(); void initVars();
public: protected:
EDA_ITEM( EDA_ITEM* parent, KICAD_T idType ); EDA_ITEM( EDA_ITEM* parent, KICAD_T idType );
EDA_ITEM( KICAD_T idType ); EDA_ITEM( KICAD_T idType );
EDA_ITEM( const EDA_ITEM& base ); EDA_ITEM( const EDA_ITEM& base );
public:
virtual ~EDA_ITEM() { }; virtual ~EDA_ITEM() { };
/** /**