diff options
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r-- | src/wasm2js.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h index 206f945b4..ba5798285 100644 --- a/src/wasm2js.h +++ b/src/wasm2js.h @@ -1232,9 +1232,7 @@ Ref Wasm2JSBuilder::processFunctionBody(Module* m, // Emit any remaining groups by just emitting branches to their code, // which will appear outside the switch. - for (auto& pair : targetIndexes) { - auto target = pair.first; - auto& indexes = pair.second; + for (auto& [target, indexes] : targetIndexes) { if (emittedTargets.count(target)) { continue; } |