mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
fixed a compilation warning
This commit is contained in:
@@ -202,7 +202,7 @@ void VWDictionary::setFixedDictionary(const std::string & dictionaryPath)
|
||||
{
|
||||
std::getline(file, str);
|
||||
strList = uSplit(str);
|
||||
if(strList.size() == dimension+1)
|
||||
if((int)strList.size() == dimension+1)
|
||||
{
|
||||
//first one is the visual word id
|
||||
std::list<std::string>::iterator iter = strList.begin();
|
||||
|
||||
Reference in New Issue
Block a user