diff --git a/system/diagnostic_graph_aggregator/src/common/graph/config.cpp b/system/diagnostic_graph_aggregator/src/common/graph/config.cpp index c9d281a5c886e..553c21b5ff4d7 100644 --- a/system/diagnostic_graph_aggregator/src/common/graph/config.cpp +++ b/system/diagnostic_graph_aggregator/src/common/graph/config.cpp @@ -102,8 +102,8 @@ UnitConfig * FileLoader::create_unit_config(const TreeData & data) unit->item = create_link_config(item, unit); } const auto list = unit->data.optional("list").children(); - for (const auto & data : list) { - unit->list.push_back(create_link_config(data, unit)); + for (const auto & tree_data : list) { + unit->list.push_back(create_link_config(tree_data, unit)); } return unit; }