Fix erroneous bool usage https://github.com/openscenegraph/VirtualPlanetBuilder/commit/58fc4595f3548dd174640c27e901b9d3adedf14e https://github.com/openscenegraph/VirtualPlanetBuilder/commit/22bf67f5a0d948b0c788652381d163a914e2fde3 --- src/vpb/MachinePool.cpp.orig +++ src/vpb/MachinePool.cpp @@ -630,7 +630,7 @@ bool MachinePool::read(const std::string& filename) if (fr.read("file",readFilename)) { read(readFilename); - ++itrAdvanced; + itrAdvanced = true; } if (fr.matchSequence("Machine {")) --- src/vpb/TaskManager.cpp.orig +++ src/vpb/TaskManager.cpp @@ -854,7 +854,7 @@ bool TaskManager::readTasks(const std::string& filename) { nextTaskSet(); readTasks(readFilename); - ++itrAdvanced; + itrAdvanced = true; } Task* task = readTask(fr, itrAdvanced);