This commit is contained in:
Paul Leroy
2022-10-27 09:19:52 +02:00
parent 13c391070e
commit bcb3cee2c4
4 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -903,7 +903,7 @@ bool Tools::LoadTrainingFile( QString filename,
if (!cloudsWereProvided)
{
//delete the already loaded clouds (if any)
for (NamedClouds::const_iterator it = loadedClouds.begin(); it != loadedClouds.end(); ++it)
for (NamedClouds::iterator it = loadedClouds.begin(); it != loadedClouds.end(); ++it)
delete it.value();
}
return false;