Skip to content

Commit

Permalink
delete the move constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Dec 9, 2024
1 parent 1d4b2d0 commit f0689b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class ActuatorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNod
*/
ActuatorInterface(const ActuatorInterface & other) = delete;

ActuatorInterface(ActuatorInterface && other) = default;
ActuatorInterface(ActuatorInterface && other) = delete;

virtual ~ActuatorInterface() = default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class SensorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
*/
SensorInterface(const SensorInterface & other) = delete;

SensorInterface(SensorInterface && other) = default;
SensorInterface(SensorInterface && other) = delete;

virtual ~SensorInterface() = default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class SystemInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
*/
SystemInterface(const SystemInterface & other) = delete;

SystemInterface(SystemInterface && other) = default;
SystemInterface(SystemInterface && other) = delete;

virtual ~SystemInterface() = default;

Expand Down

0 comments on commit f0689b5

Please sign in to comment.