| Index: tools/gn/value.cc
|
| diff --git a/tools/gn/value.cc b/tools/gn/value.cc
|
| index 0c1f461dd85458949e6c63c28aba4c8aeafc2435..f800bf39593a0a341b66194570521425b9003a0c 100644
|
| --- a/tools/gn/value.cc
|
| +++ b/tools/gn/value.cc
|
| @@ -152,10 +152,9 @@ std::string Value::ToString(bool quote_string) const {
|
| return std::string("{ }");
|
|
|
| std::string result = "{\n";
|
| - for (Scope::KeyValueMap::const_iterator i = scope_values.begin();
|
| - i != scope_values.end(); ++i) {
|
| - result += " " + i->first.as_string() + " = " +
|
| - i->second.ToString(true) + "\n";
|
| + for (const auto& pair : scope_values) {
|
| + result += " " + pair.first.as_string() + " = " +
|
| + pair.second.ToString(true) + "\n";
|
| }
|
| result += "}";
|
|
|
|
|