diff options
author | jwhendy | 2019-10-13 12:51:50 -0500 |
---|---|---|
committer | jwhendy | 2019-10-13 12:51:50 -0500 |
commit | fef8193211f62ba757c1d1a978b53801f9cef404 (patch) | |
tree | 18d97e9dec16d5298485fc056c069929adc5b5e2 /boost-fix.patch | |
parent | fe866aea09dc4ee4243513ea672df206eea4e77c (diff) | |
download | aur-fef8193211f62ba757c1d1a978b53801f9cef404.tar.gz |
applied upstream boost 1.71 fix as patch until they release a new version
Diffstat (limited to 'boost-fix.patch')
-rw-r--r-- | boost-fix.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/boost-fix.patch b/boost-fix.patch new file mode 100644 index 000000000000..82f8830158cb --- /dev/null +++ b/boost-fix.patch @@ -0,0 +1,19 @@ +--- src/ompl-1.4.1/demos/PlannerData.cpp 2018-12-05 14:01:03.000000000 -0600 ++++ ./PlannerData.cpp 2019-10-13 12:42:20.129520443 -0500 +@@ -170,13 +170,15 @@ + ob::GoalState goal(si); + goal.setState(data.getGoalVertex(0).getState()); + ob::PlannerData::Graph::Vertex start = boost::vertex(data.getStartIndex(0), graph); ++ boost::astar_visitor<boost::null_visitor> dummy_visitor; + boost::astar_search(graph, start, + [&goal, &opt, &vertices](ob::PlannerData::Graph::Vertex v1) { return distanceHeuristic(v1, &goal, &opt, vertices); }, + boost::predecessor_map(prev). + distance_compare([&opt](ob::Cost c1, ob::Cost c2) { return opt.isCostBetterThan(c1, c2); }). + distance_combine([&opt](ob::Cost c1, ob::Cost c2) { return opt.combineCosts(c1, c2); }). + distance_inf(opt.infiniteCost()). +- distance_zero(opt.identityCost())); ++ distance_zero(opt.identityCost()). ++ visitor(dummy_visitor)); + + // Extracting the path + og::PathGeometric path(si); |