diff --git a/image_view/include/image_view/disparity_view_node.hpp b/image_view/include/image_view/disparity_view_node.hpp index 3c0bc8d0f..d8ab8bc34 100644 --- a/image_view/include/image_view/disparity_view_node.hpp +++ b/image_view/include/image_view/disparity_view_node.hpp @@ -30,8 +30,10 @@ class DisparityViewNode { public: explicit DisparityViewNode(const rclcpp::NodeOptions & options); - explicit DisparityViewNode(const DisparityViewNode &) = delete; - explicit DisparityViewNode(DisparityViewNode &&) = delete; + explicit DisparityViewNode(const DisparityViewNode &) = default; + explicit DisparityViewNode(DisparityViewNode &&) = default; + DisparityViewNode & operator=(const DisparityViewNode &) = default; + DisparityViewNode & operator=(DisparityViewNode &&) = default; ~DisparityViewNode(); private: diff --git a/image_view/include/image_view/image_view_node.hpp b/image_view/include/image_view/image_view_node.hpp index 4a31e643f..a98290840 100644 --- a/image_view/include/image_view/image_view_node.hpp +++ b/image_view/include/image_view/image_view_node.hpp @@ -48,10 +48,10 @@ class ImageViewNode { public: explicit ImageViewNode(const rclcpp::NodeOptions & options); - explicit ImageViewNode(const ImageViewNode &) = delete; - explicit ImageViewNode(ImageViewNode &&) = delete; - ImageViewNode & operator=(const ImageViewNode &) = delete; - ImageViewNode & operator=(ImageViewNode &&) = delete; + explicit ImageViewNode(const ImageViewNode &) = default; + explicit ImageViewNode(ImageViewNode &&) = default; + ImageViewNode & operator=(const ImageViewNode &) = default; + ImageViewNode & operator=(ImageViewNode &&) = default; ~ImageViewNode(); private: diff --git a/image_view/include/image_view/stereo_view_node.hpp b/image_view/include/image_view/stereo_view_node.hpp index 0df43e508..f2c40c625 100644 --- a/image_view/include/image_view/stereo_view_node.hpp +++ b/image_view/include/image_view/stereo_view_node.hpp @@ -77,10 +77,10 @@ class StereoViewNode { public: explicit StereoViewNode(const rclcpp::NodeOptions & options); - explicit StereoViewNode(const StereoViewNode &) = delete; - explicit StereoViewNode(StereoViewNode &&) = delete; - StereoViewNode & operator=(const StereoViewNode &) = delete; - StereoViewNode & operator=(StereoViewNode &&) = delete; + explicit StereoViewNode(const StereoViewNode &) = default; + explicit StereoViewNode(StereoViewNode &&) = default; + StereoViewNode & operator=(const StereoViewNode &) = default; + StereoViewNode & operator=(StereoViewNode &&) = default; ~StereoViewNode(); private: diff --git a/image_view/include/image_view/video_recorder_node.hpp b/image_view/include/image_view/video_recorder_node.hpp index 51dda6b90..52d6b5bd7 100644 --- a/image_view/include/image_view/video_recorder_node.hpp +++ b/image_view/include/image_view/video_recorder_node.hpp @@ -30,10 +30,10 @@ class VideoRecorderNode { public: explicit VideoRecorderNode(const rclcpp::NodeOptions & options); - explicit VideoRecorderNode(const VideoRecorderNode &) = delete; - explicit VideoRecorderNode(VideoRecorderNode &&) = delete; - VideoRecorderNode & operator=(const VideoRecorderNode &) = delete; - VideoRecorderNode & operator=(VideoRecorderNode &&) = delete; + explicit VideoRecorderNode(const VideoRecorderNode &) = default; + explicit VideoRecorderNode(VideoRecorderNode &&) = default; + VideoRecorderNode & operator=(const VideoRecorderNode &) = default; + VideoRecorderNode & operator=(VideoRecorderNode &&) = default; ~VideoRecorderNode(); private: