Fix invalid std::array constructor causing MSVC illegal indirection error
This commit is contained in:
parent
2b3451ff6d
commit
8ac0d84f45
|
@ -108,7 +108,7 @@ void ORIGIN_VIEWITEM::ViewDraw( int, VIEW* aView ) const
|
||||||
clip.Normalize();
|
clip.Normalize();
|
||||||
|
|
||||||
double theta = atan2( end.y - start.y, end.x - start.x );
|
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 )
|
for( size_t i = 0; i < 10000; ++i )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue