diff --git a/common/origin_viewitem.cpp b/common/origin_viewitem.cpp index 1829586cfc..0e05597f27 100644 --- a/common/origin_viewitem.cpp +++ b/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 ); }