Skip to content
This repository was archived by the owner on Nov 13, 2017. It is now read-only.

Commit c98a832

Browse files
committed
remove ~RobotModelLoader (#705)
The destructor only resetted shared_ptr of the class. This automatically happens after the destructor anyway and it does disturb the default destructor order of the data structures.
1 parent d481e0b commit c98a832

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

planning/robot_model_loader/include/moveit/robot_model_loader/robot_model_loader.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ class RobotModelLoader
9797

9898
RobotModelLoader(const std::string &robot_description, bool load_kinematics_solvers = true);
9999

100-
~RobotModelLoader();
101-
102100
/** @brief Get the constructed planning_models::RobotModel */
103101
const robot_model::RobotModelPtr& getModel() const
104102
{

planning/robot_model_loader/src/robot_model_loader.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ robot_model_loader::RobotModelLoader::RobotModelLoader(const Options &opt)
5151
configure(opt);
5252
}
5353

54-
robot_model_loader::RobotModelLoader::~RobotModelLoader()
55-
{
56-
model_.reset();
57-
rdf_loader_.reset();
58-
kinematics_loader_.reset();
59-
}
60-
6154
namespace
6255
{
6356

0 commit comments

Comments
 (0)