From cadb14e62cce0e6188ac4d25fbbf088003b56e91 Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco Claraco Date: Mon, 7 Dec 2020 10:47:09 +0100 Subject: [PATCH] fix potential recursive on all control paths --- libs/graphslam/include/mrpt/graphslam/misc/TNodeProps.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libs/graphslam/include/mrpt/graphslam/misc/TNodeProps.h b/libs/graphslam/include/mrpt/graphslam/misc/TNodeProps.h index e83bf2300e..971e6d9dce 100644 --- a/libs/graphslam/include/mrpt/graphslam/misc/TNodeProps.h +++ b/libs/graphslam/include/mrpt/graphslam/misc/TNodeProps.h @@ -21,14 +21,6 @@ struct TNodeProps mrpt::obs::CObservation2DRangeScan::Ptr scan; TNodeProps() = default; - TNodeProps(const TNodeProps& o) { *this = o; } - - TNodeProps operator=(const TNodeProps& other) - { - this->pose = other.pose; - this->scan = other.scan; - return *this; - } void getAsString(std::string* str) const {