summaryrefslogtreecommitdiff
path: root/src/tools/execution-results.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/execution-results.h')
-rw-r--r--src/tools/execution-results.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/execution-results.h b/src/tools/execution-results.h
index 8fc4c2eed..b689ffc66 100644
--- a/src/tools/execution-results.h
+++ b/src/tools/execution-results.h
@@ -185,8 +185,7 @@ struct ExecutionResults {
std::cout << "ignoring comparison of ExecutionResults!\n";
return true;
}
- for (auto& iter : other.results) {
- auto name = iter.first;
+ for (auto& [name, _] : other.results) {
if (results.find(name) == results.end()) {
std::cout << "[fuzz-exec] missing " << name << '\n';
return false;