From f0689b58a5248663bfb45da205fbd335bb16b925 Mon Sep 17 00:00:00 2001
From: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Date: Mon, 9 Dec 2024 21:53:57 +0100
Subject: [PATCH] delete the move constructors

---
 .../include/hardware_interface/actuator_interface.hpp           | 2 +-
 .../include/hardware_interface/sensor_interface.hpp             | 2 +-
 .../include/hardware_interface/system_interface.hpp             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hardware_interface/include/hardware_interface/actuator_interface.hpp b/hardware_interface/include/hardware_interface/actuator_interface.hpp
index 4b95fd07ca..3933216f52 100644
--- a/hardware_interface/include/hardware_interface/actuator_interface.hpp
+++ b/hardware_interface/include/hardware_interface/actuator_interface.hpp
@@ -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;
 
diff --git a/hardware_interface/include/hardware_interface/sensor_interface.hpp b/hardware_interface/include/hardware_interface/sensor_interface.hpp
index f7f2f31aa5..d2c571cd13 100644
--- a/hardware_interface/include/hardware_interface/sensor_interface.hpp
+++ b/hardware_interface/include/hardware_interface/sensor_interface.hpp
@@ -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;
 
diff --git a/hardware_interface/include/hardware_interface/system_interface.hpp b/hardware_interface/include/hardware_interface/system_interface.hpp
index 75a7ae55a2..f5a7021b65 100644
--- a/hardware_interface/include/hardware_interface/system_interface.hpp
+++ b/hardware_interface/include/hardware_interface/system_interface.hpp
@@ -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;