File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/moveit/task_constructor Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ class MergerPrivate : public ParallelContainerBasePrivate
230230 using ChildSolutionList = std::vector<const SubTrajectory*>;
231231 using ChildSolutionMap = std::map<const Stage*, ChildSolutionList>;
232232 // map from external source state (iterator) to all corresponding children's solutions
233- std::map<InterfaceState*, ChildSolutionMap> source_state_to_solutions_;
233+ std::map<const InterfaceState*, ChildSolutionMap> source_state_to_solutions_;
234234
235235public:
236236 using Spawner = std::function<void (SubTrajectory&&)>;
Original file line number Diff line number Diff line change @@ -883,7 +883,7 @@ void MergerPrivate::onNewPropagateSolution(const SolutionBase& s) {
883883 auto source_it = internalToExternalMap ().find (source_state);
884884 // internal->external mapping for source state should have been created
885885 assert (source_it != internalToExternalMap ().end ());
886- InterfaceState* external_source_state = &*source_it->second ;
886+ const InterfaceState* external_source_state = &*source_it->second ;
887887
888888 // retrieve (or create if necessary) the ChildSolutionMap for the given external source state
889889 ChildSolutionMap& all_solutions =
You can’t perform that action at this time.
0 commit comments