Skip to content

Commit 3818a47

Browse files
committed
delete the move constructors
1 parent e35e619 commit 3818a47

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hardware_interface/include/hardware_interface/actuator_interface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class ActuatorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNod
9494
*/
9595
ActuatorInterface(const ActuatorInterface & other) = delete;
9696

97-
ActuatorInterface(ActuatorInterface && other) = default;
97+
ActuatorInterface(ActuatorInterface && other) = delete;
9898

9999
virtual ~ActuatorInterface() = default;
100100

hardware_interface/include/hardware_interface/sensor_interface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class SensorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
9393
*/
9494
SensorInterface(const SensorInterface & other) = delete;
9595

96-
SensorInterface(SensorInterface && other) = default;
96+
SensorInterface(SensorInterface && other) = delete;
9797

9898
virtual ~SensorInterface() = default;
9999

hardware_interface/include/hardware_interface/system_interface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class SystemInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
9797
*/
9898
SystemInterface(const SystemInterface & other) = delete;
9999

100-
SystemInterface(SystemInterface && other) = default;
100+
SystemInterface(SystemInterface && other) = delete;
101101

102102
virtual ~SystemInterface() = default;
103103

0 commit comments

Comments
 (0)