Skip to content
Snippets Groups Projects
Commit 0756364c authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Remove calls to remove() in destructors, which were commented

parent 7d0f80b4
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,6 @@ ConstraintBase::ConstraintBase(ConstraintType _tp, LandmarkBasePtr _landmark_ptr
ConstraintBase::~ConstraintBase()
{
// remove();
std::cout << "destructed -c" << id() << std::endl;
}
......
......@@ -37,7 +37,6 @@ FrameIMU::FrameIMU(const FrameKeyType& _tp, const TimeStamp& _ts, const Eigen::V
FrameIMU::~FrameIMU()
{
// remove();
if (acc_bias_ptr_ != nullptr)
{
if (getProblem() != nullptr && type_id_ == KEY_FRAME)
......
......@@ -24,7 +24,6 @@ LandmarkBase::LandmarkBase(const LandmarkType & _tp, const std::string& _type, S
LandmarkBase::~LandmarkBase()
{
// remove();
std::cout << "destructed -L" << id() << std::endl;
// Remove State Blocks
......
......@@ -20,7 +20,6 @@ ProcessorBase::ProcessorBase(ProcessorType _tp, const std::string& _type, const
ProcessorBase::~ProcessorBase()
{
// remove();
std::cout << "destructed -p" << id() << std::endl;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment