Skip to content

Commit 56ad37d

Browse files
committed
Provide move constructor for InterfaceState
The code was tuned to move InterfaceStates around, but there wasn't the matching constructor!
1 parent bc25c5e commit 56ad37d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • core/include/moveit/task_constructor

core/include/moveit/task_constructor/storage.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class InterfaceState
105105

106106
/// copy an existing InterfaceState, but not including incoming/outgoing trajectories
107107
InterfaceState(const InterfaceState& other);
108+
InterfaceState(InterfaceState&& other) = default;
108109

109110
inline const planning_scene::PlanningSceneConstPtr& scene() const { return scene_; }
110111
inline const Solutions& incomingTrajectories() const { return incoming_trajectories_; }

0 commit comments

Comments
 (0)