diff options
Diffstat (limited to 'source/slang/slang-ast-dump.cpp')
| -rw-r--r-- | source/slang/slang-ast-dump.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/slang/slang-ast-dump.cpp b/source/slang/slang-ast-dump.cpp index 65718833b..d016d1c15 100644 --- a/source/slang/slang-ast-dump.cpp +++ b/source/slang/slang-ast-dump.cpp @@ -386,11 +386,8 @@ struct ASTDumpContext m_writer->emit(" { \n"); m_writer->indent(); - for (auto iter : dict) + for (const auto& [key, value] : dict) { - const auto& key = iter.key; - const auto& value = iter.value; - dump(key); m_writer->emit(" : "); dump(value); |
