mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Fixed some signed/unsigned comparison warnings
This commit is contained in:
@@ -232,7 +232,7 @@ Transform OdometryF2M::computeTransform(
|
||||
}
|
||||
|
||||
// remove words in map if max size is reached
|
||||
if(mapPoints.size() > maximumMapSize_)
|
||||
if((int)mapPoints.size() > maximumMapSize_)
|
||||
{
|
||||
// remove oldest first, keep matched features
|
||||
std::set<int> matches(regInfo.matchesIDs.begin(), regInfo.matchesIDs.end());
|
||||
|
||||
Reference in New Issue
Block a user