Skip to content

Commit 3a1686b

Browse files
committed
use BOOST_VERSION condition
Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
1 parent 3501c87 commit 3a1686b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoware_utils_geometry/src/geometry/random_concave_polygon.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,11 @@ void insert_node(PolygonWithEdges & polygon_with_edges, const Point2d & w, const
227227
}
228228
}
229229

230+
#if BOOST_VERSION < 107600 // Cannot move safely in version 1.76.0 or later
230231
polygon_with_edges.edges = std::move(new_edges);
232+
#else
233+
polygon_with_edges.edges = new_edges;
234+
#endif
231235
}
232236

233237
/// @brief removes a node from a set of points

0 commit comments

Comments
 (0)