Skip to content

Commit 8de3d06

Browse files
authored
Fix windows build (#28687)
1 parent e44a95b commit 8de3d06

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ydb/core/formats/arrow/program/graph_execute.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ TCompiledGraph::TCompiledGraph(const NOptimization::TGraph& original, const ICol
6666
THashMap<ui32, ui64> weightByNode;
6767
THashSet<ui32> nextNodeIds;
6868
for (auto&& i : currentNodes) {
69-
for (auto&& near : i->GetOutputEdges()) {
70-
if (!nextNodeIds.emplace(near->GetIdentifier()).second) {
69+
for (auto&& neighbor : i->GetOutputEdges()) {
70+
if (!nextNodeIds.emplace(neighbor->GetIdentifier()).second) {
7171
continue;
7272
}
73-
AFL_VERIFY(!near->HasWeight());
73+
AFL_VERIFY(!neighbor->HasWeight());
7474
bool hasWeight = true;
7575
ui64 sumWeight = 0;
76-
for (auto&& test : near->GetInputEdges()) {
76+
for (auto&& test : neighbor->GetInputEdges()) {
7777
if (!test->HasWeight()) {
7878
hasWeight = false;
7979
break;
8080
}
8181
sumWeight += test->GetWeight();
8282
}
8383
if (hasWeight) {
84-
weightByNode[near->GetIdentifier()] = sumWeight;
85-
nextNodes.emplace_back(near);
84+
weightByNode[neighbor->GetIdentifier()] = sumWeight;
85+
nextNodes.emplace_back(neighbor);
8686
}
8787
}
8888
}

0 commit comments

Comments
 (0)