Skip to content

Commit 777179b

Browse files
committed
txgraph: rename group_data in ApplyDependencies
1 parent 74c23f8 commit 777179b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/txgraph.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,9 +1321,9 @@ void TxGraphImpl::ApplyDependencies(int level) noexcept
13211321
if (clusterset.m_group_data->m_group_oversized) return;
13221322

13231323
// For each group of to-be-merged Clusters.
1324-
for (const auto& group_data : clusterset.m_group_data->m_groups) {
1324+
for (const auto& group_entry : clusterset.m_group_data->m_groups) {
13251325
auto cluster_span = std::span{clusterset.m_group_data->m_group_clusters}
1326-
.subspan(group_data.m_cluster_offset, group_data.m_cluster_count);
1326+
.subspan(group_entry.m_cluster_offset, group_entry.m_cluster_count);
13271327
// Pull in all the Clusters that contain dependencies.
13281328
if (level == 1) {
13291329
for (Cluster*& cluster : cluster_span) {
@@ -1335,7 +1335,7 @@ void TxGraphImpl::ApplyDependencies(int level) noexcept
13351335
// Actually apply all to-be-added dependencies (all parents and children from this grouping
13361336
// belong to the same Cluster at this point because of the merging above).
13371337
auto deps_span = std::span{clusterset.m_deps_to_add}
1338-
.subspan(group_data.m_deps_offset, group_data.m_deps_count);
1338+
.subspan(group_entry.m_deps_offset, group_entry.m_deps_count);
13391339
Assume(!deps_span.empty());
13401340
const auto& loc = m_entries[deps_span[0].second].m_locator[level];
13411341
Assume(loc.IsPresent());

0 commit comments

Comments
 (0)