Loading pcbnew/class_drawsegment.h +3 −3 Original line number Diff line number Diff line Loading @@ -142,12 +142,12 @@ public: const std::vector<wxPoint>& GetBezierPoints() const { return m_BezierPoints; }; const std::vector<wxPoint>& GetPolyPoints() const { return m_PolyPoints; }; void SetBezierPoints( std::vector<wxPoint>& aPoints ) void SetBezierPoints( const std::vector<wxPoint>& aPoints ) { m_BezierPoints = aPoints; } void SetPolyPoints( std::vector<wxPoint>& aPoints ) void SetPolyPoints( const std::vector<wxPoint>& aPoints ) { m_PolyPoints = aPoints; } Loading Loading
pcbnew/class_drawsegment.h +3 −3 Original line number Diff line number Diff line Loading @@ -142,12 +142,12 @@ public: const std::vector<wxPoint>& GetBezierPoints() const { return m_BezierPoints; }; const std::vector<wxPoint>& GetPolyPoints() const { return m_PolyPoints; }; void SetBezierPoints( std::vector<wxPoint>& aPoints ) void SetBezierPoints( const std::vector<wxPoint>& aPoints ) { m_BezierPoints = aPoints; } void SetPolyPoints( std::vector<wxPoint>& aPoints ) void SetPolyPoints( const std::vector<wxPoint>& aPoints ) { m_PolyPoints = aPoints; } Loading