Browse Source

Force initialization of board units

Unitialized variables are the devil's playground
newinvert
Seth Hillbrand 3 years ago
parent
commit
f0892598a4
  1. 1
      pcbnew/board.cpp

1
pcbnew/board.cpp

@ -75,6 +75,7 @@ BOARD::BOARD() :
m_timeStamp( 1 ),
m_paper( PAGE_INFO::A4 ),
m_project( nullptr ),
m_userUnits( EDA_UNITS::MILLIMETRES ),
m_designSettings( new BOARD_DESIGN_SETTINGS( nullptr, "board.design_settings" ) ),
m_NetInfo( this )
{

Loading…
Cancel
Save