[nGraph] VisualizeTree cclang quick fix (#16155)

This commit is contained in:
Edward Shogulin
2023-03-08 15:36:25 +00:00
committed by GitHub
parent c3b22af3f7
commit 75c73a38f8

View File

@@ -510,7 +510,7 @@ string pass::VisualizeTree::get_node_name(shared_ptr<Node> node) {
auto to_string = [](const std::unordered_set<std::string>& names) {
std::stringstream ss;
size_t i = 0;
for (const auto name : names) {
for (const auto& name : names) {
ss << (i == 0 ? "" : ", ") << name;
i++;
}