mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Refactoring...
This commit is contained in:
@@ -1529,10 +1529,6 @@ void Memory::moveToTrash(Signature * s, bool saveToDatabase, std::list<int> * de
|
|||||||
}
|
}
|
||||||
|
|
||||||
sTo->removeLink(s->id());
|
sTo->removeLink(s->id());
|
||||||
if(s == _lastSignature && iter->second.type() == Link::kNeighbor)
|
|
||||||
{
|
|
||||||
_lastSignature = sTo;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user