From 58fc4595f3548dd174640c27e901b9d3adedf14e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 27 Sep 2022 16:34:21 +0100 Subject: [PATCH] Fixed erroneous bool usage --- src/vpb/MachinePool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vpb/MachinePool.cpp b/src/vpb/MachinePool.cpp index 0af5aa7..2de6f93 100644 --- a/src/vpb/MachinePool.cpp +++ b/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 {"))