SHAPE_ARC: fix uninitialized member in a CTOR that created issues in a QA test.
Initializing all members is always good.
This commit is contained in:
parent
7f6801bc27
commit
6bea0951a3
|
@ -34,7 +34,7 @@ class SHAPE_ARC : public SHAPE
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SHAPE_ARC() :
|
SHAPE_ARC() :
|
||||||
SHAPE( SH_ARC ), m_width( 0 ) {};
|
SHAPE( SH_ARC ), m_centralAngle( 0.0 ), m_width( 0 ) {};
|
||||||
|
|
||||||
SHAPE_ARC( const VECTOR2I& aArcCenter, const VECTOR2I& aArcStartPoint,
|
SHAPE_ARC( const VECTOR2I& aArcCenter, const VECTOR2I& aArcStartPoint,
|
||||||
double aCenterAngle, int aWidth = 0 ) :
|
double aCenterAngle, int aWidth = 0 ) :
|
||||||
|
|
Loading…
Reference in New Issue