This is really an abstract class and should not be instantiated directly.
---
 include/base_struct.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/base_struct.h b/include/base_struct.h
index 360e4ff..5db45f4 100644
--- a/include/base_struct.h
+++ b/include/base_struct.h
@@ -188,11 +188,14 @@ private:
 
     void initVars();
 
-public:
+protected:
 
     EDA_ITEM( EDA_ITEM* parent, KICAD_T idType );
     EDA_ITEM( KICAD_T idType );
     EDA_ITEM( const EDA_ITEM& base );
+
+public:
+
     virtual ~EDA_ITEM() { };
 
     /**
-- 
2.1.4


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to