From b9f2ae0ab303bc6d4c592e0ecce3bdf52b530e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9rik=20Paradis?= Date: Thu, 22 Dec 2016 10:40:37 -0500 Subject: [PATCH] Fix -Wreorder warnings --- Cone_spanners_2/include/CGAL/Construct_theta_graph_2.h | 2 +- Cone_spanners_2/include/CGAL/Construct_yao_graph_2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cone_spanners_2/include/CGAL/Construct_theta_graph_2.h b/Cone_spanners_2/include/CGAL/Construct_theta_graph_2.h index 2523c546650..0ba4a559930 100644 --- a/Cone_spanners_2/include/CGAL/Construct_theta_graph_2.h +++ b/Cone_spanners_2/include/CGAL/Construct_theta_graph_2.h @@ -100,7 +100,7 @@ public: Construct_theta_graph_2 (unsigned int k, Direction_2 initial_direction = Direction_2(1,0), Cones_selected cones_selected = ALL_CONES - ): cone_number(k), rays(std::vector(k)), cones_choice(cones_selected) + ): cone_number(k), cones_choice(cones_selected), rays(std::vector(k)) { if (k<2) { diff --git a/Cone_spanners_2/include/CGAL/Construct_yao_graph_2.h b/Cone_spanners_2/include/CGAL/Construct_yao_graph_2.h index 9a41f5adbb2..76982e19e5e 100644 --- a/Cone_spanners_2/include/CGAL/Construct_yao_graph_2.h +++ b/Cone_spanners_2/include/CGAL/Construct_yao_graph_2.h @@ -95,7 +95,7 @@ public: Construct_yao_graph_2 (unsigned int k, Direction_2 initial_direction = Direction_2(1,0), Cones_selected cones_selected = ALL_CONES - ): cone_number(k), rays(std::vector(k)), cones_choice(cones_selected) + ): cone_number(k), cones_choice(cones_selected), rays(std::vector(k)) { if (k<2) {