mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Remove some no-longer-necessary ifdefs
This commit is contained in:
parent
2a605e4a4e
commit
473f19e8fb
@ -308,7 +308,7 @@ double PCB_VIA::Similarity( const BOARD_ITEM& aOther ) const
|
||||
return similarity;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
void PCB_VIA::SetWidth( int aWidth )
|
||||
{
|
||||
// This is present because of the parent class. It should never be actually called on a via.
|
||||
@ -323,7 +323,6 @@ int PCB_VIA::GetWidth() const
|
||||
wxASSERT_MSG( false, "Warning: PCB_VIA::GetWidth called without a layer argument" );
|
||||
return m_padStack.Size( PADSTACK::ALL_LAYERS ).x;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void PCB_VIA::SetWidth( PCB_LAYER_ID aLayer, int aWidth )
|
||||
|
@ -385,10 +385,10 @@ public:
|
||||
const PADSTACK& Padstack() const { return m_padStack; }
|
||||
PADSTACK& Padstack() { return m_padStack; }
|
||||
void SetPadstack( const PADSTACK& aPadstack ) { m_padStack = aPadstack; }
|
||||
#if 0
|
||||
|
||||
void SetWidth( int aWidth ) override;
|
||||
int GetWidth() const override;
|
||||
#endif
|
||||
|
||||
void SetWidth( PCB_LAYER_ID aLayer, int aWidth );
|
||||
int GetWidth( PCB_LAYER_ID aLayer ) const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user