Fix invalid std::array constructor causing MSVC illegal indirection error

This commit is contained in:
Mark Roszko 2020-01-20 01:30:26 +00:00 committed by Seth Hillbrand
parent 2b3451ff6d
commit 8ac0d84f45
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void ORIGIN_VIEWITEM::ViewDraw( int, VIEW* aView ) const
clip.Normalize();
double theta = atan2( end.y - start.y, end.x - start.x );
std::array<double,2> strokes( { DASH_MARK_LEN( 1 ), DASH_GAP_LEN( 1 ) } );
std::array<double,2> strokes = { DASH_MARK_LEN( 1 ), DASH_GAP_LEN( 1 ) };
for( size_t i = 0; i < 10000; ++i )
{