Fix some compile warnings
This commit is contained in:
parent
aa9e74493f
commit
2148c593d6
|
@ -141,6 +141,13 @@ public:
|
|||
|
||||
PART_SPTR SharedPtr() { return m_me; }
|
||||
|
||||
private:
|
||||
// We create a different set parent function for this class, so we hide
|
||||
// the inherited one.
|
||||
using EDA_ITEM::SetParent;
|
||||
|
||||
public:
|
||||
|
||||
void SetParent( LIB_PART* aParent = nullptr );
|
||||
PART_REF& GetParent() { return m_parent; }
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include <symbol_lib_table.h>
|
||||
#include <transform.h>
|
||||
|
||||
class COMPONENT_SELECTION;
|
||||
struct COMPONENT_SELECTION;
|
||||
class SCH_SCREEN;
|
||||
class LIB_ITEM;
|
||||
class LIB_PIN;
|
||||
|
|
|
@ -1529,7 +1529,7 @@ void EAGLE_PLUGIN::packagePad( MODULE* aModule, wxXmlNode* aTree )
|
|||
// this is thru hole technology here, no SMDs
|
||||
EPAD e( aTree );
|
||||
int shape = EPAD::UNDEF;
|
||||
int drillz = e.drill.ToPcbUnits();
|
||||
int eagleDrillz = e.drill.ToPcbUnits();
|
||||
|
||||
D_PAD* pad = new D_PAD( aModule );
|
||||
aModule->Add( pad );
|
||||
|
@ -1542,11 +1542,11 @@ void EAGLE_PLUGIN::packagePad( MODULE* aModule, wxXmlNode* aTree )
|
|||
else if( aModule->GetLayer() == B_Cu && m_rules->psBottom != EPAD::UNDEF )
|
||||
shape = m_rules->psBottom;
|
||||
|
||||
pad->SetDrillSize( wxSize( drillz, drillz ) );
|
||||
pad->SetDrillSize( wxSize( eagleDrillz, eagleDrillz ) );
|
||||
pad->SetLayerSet( LSET::AllCuMask() );
|
||||
|
||||
if( drillz < m_min_hole )
|
||||
m_min_hole = drillz;
|
||||
if( eagleDrillz < m_min_hole )
|
||||
m_min_hole = eagleDrillz;
|
||||
|
||||
// Solder mask
|
||||
if( !e.stop || *e.stop == true ) // enabled by default
|
||||
|
|
Loading…
Reference in New Issue