parent
382dca4e6f
commit
a7d1ef9927
|
@ -33,13 +33,17 @@ const int pcbCalculatorSchemaVersion = 0;
|
|||
|
||||
|
||||
PCB_CALCULATOR_SETTINGS::PCB_CALCULATOR_SETTINGS() :
|
||||
APP_SETTINGS_BASE( "pcb_calculator", pcbCalculatorSchemaVersion )
|
||||
APP_SETTINGS_BASE( "pcb_calculator", pcbCalculatorSchemaVersion ),
|
||||
m_Attenuators(),
|
||||
m_BoardClassUnits( 0 ),
|
||||
m_ColorCodeTolerance( 0 ),
|
||||
m_Electrical(),
|
||||
m_LastPage( 0 ),
|
||||
m_Regulators(),
|
||||
m_TrackWidth(),
|
||||
m_TransLine(),
|
||||
m_ViaSize()
|
||||
{
|
||||
// Make Coverity happy:
|
||||
m_BoardClassUnits = 0;
|
||||
m_ColorCodeTolerance = 0;
|
||||
m_LastPage = 0;
|
||||
|
||||
// Build settings:
|
||||
m_params.emplace_back( new PARAM<int>( "board_class_units", &m_BoardClassUnits, 0 ) );
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ class CADSTAR_PCB_ARCHIVE_PARSER : public CADSTAR_ARCHIVE_PARSER
|
|||
{
|
||||
public:
|
||||
explicit CADSTAR_PCB_ARCHIVE_PARSER( wxString aFilename )
|
||||
: Filename( aFilename ), CADSTAR_ARCHIVE_PARSER()
|
||||
: Filename( aFilename ), Header(), Assignments(), CADSTAR_ARCHIVE_PARSER()
|
||||
{
|
||||
KiCadUnitMultiplier = 10; // assume hundredth micron
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue