Browse Source

Fix a minor compil warning.

pull/5/merge
jean-pierre charras 8 years ago
parent
commit
ce02798533
  1. 3
      common/origin_viewitem.cpp

3
common/origin_viewitem.cpp

@ -38,8 +38,7 @@ ORIGIN_VIEWITEM::ORIGIN_VIEWITEM( const COLOR4D& aColor, MARKER_STYLE aStyle, in
ORIGIN_VIEWITEM::ORIGIN_VIEWITEM( const VECTOR2D& aPosition, STATUS_FLAGS flags ) :
BOARD_ITEM( nullptr, NOT_USED ), // this item is never added to a BOARD so it needs no type
m_size( NOT_USED ), m_color( UNSPECIFIED_COLOR ), m_style( NONE ), m_drawAtZero( false ),
m_position( aPosition )
m_position( aPosition ), m_size( NOT_USED ), m_color( UNSPECIFIED_COLOR ), m_style( NONE ), m_drawAtZero( false )
{
SetFlags( flags );
}

Loading…
Cancel
Save