From c75d4b9ba1ae84dd485aff981f27112554e82c54 Mon Sep 17 00:00:00 2001 From: John Beard Date: Tue, 18 Sep 2018 14:45:52 +0100 Subject: [PATCH] Fix -Wreorder warning in common view-overlay.cpp Simple fix - m_radius comes after m_{start,end}Angle in the class member list. --- common/view/view_overlay.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/view/view_overlay.cpp b/common/view/view_overlay.cpp index 309a8293b4..45332a00f5 100644 --- a/common/view/view_overlay.cpp +++ b/common/view/view_overlay.cpp @@ -77,9 +77,10 @@ struct VIEW_OVERLAY::COMMAND_ARC : public VIEW_OVERLAY::COMMAND { COMMAND_ARC( const VECTOR2D& aCenter, double aRadius, double aStartAngle, double aEndAngle ) : m_center( aCenter ), - m_radius( aRadius ), m_startAngle( aStartAngle ), - m_endAngle( aEndAngle ) {} + m_endAngle( aEndAngle ), + m_radius( aRadius ) + { } virtual void Execute( VIEW* aView ) const override {