Limit length of timestamp to 15 characters
This commit is contained in:
parent
bb5b6fef26
commit
cbddbb598f
@ -43,6 +43,8 @@ QueryObjectsStorage::QueryObjectsStorage(std::string hsgrPath, std::string ramIn
|
|||||||
}
|
}
|
||||||
if(!timestamp.length())
|
if(!timestamp.length())
|
||||||
timestamp = "n/a";
|
timestamp = "n/a";
|
||||||
|
if(15 < timestamp.length())
|
||||||
|
timestamp.resize(15);
|
||||||
|
|
||||||
INFO("Loading auxiliary information");
|
INFO("Loading auxiliary information");
|
||||||
//Init nearest neighbor data structure
|
//Init nearest neighbor data structure
|
||||||
|
Loading…
Reference in New Issue
Block a user