@@ -335,7 +335,7 @@ class TxGraphImpl final : public TxGraph
335
335
336
336
// Simple helper functions.
337
337
338
- /* * Swap the Entrys referred to by a and b. */
338
+ /* * Swap the Entry referred to by a and the one referred to by b. */
339
339
void SwapIndexes (GraphIndex a, GraphIndex b) noexcept ;
340
340
/* * If idx exists in the specified level ClusterSet (explicitly, or in the level below and not
341
341
* removed), return the Cluster it is in. Otherwise, return nullptr. */
@@ -408,8 +408,8 @@ class TxGraphImpl final : public TxGraph
408
408
409
409
// Functions related to various normalization/application steps.
410
410
/* * Get rid of unlinked Entry objects in m_entries, if possible (this changes the GraphIndex
411
- * values for remaining Entrys , so this only does something when no to-be-applied operations
412
- * or staged removals referring to GraphIndexes remain). */
411
+ * values for remaining Entry objects , so this only does something when no to-be-applied
412
+ * operations or staged removals referring to GraphIndexes remain). */
413
413
void Compact () noexcept ;
414
414
/* * If cluster is not in staging, copy it there, and return a pointer to it. This has no
415
415
* effect if only a main graph exists, but if staging exists this modifies the locators of its
@@ -505,7 +505,7 @@ void TxGraphImpl::ClearLocator(int level, GraphIndex idx) noexcept
505
505
506
506
void Cluster::Updated (TxGraphImpl& graph) noexcept
507
507
{
508
- // Update all the Locators for this Cluster's Entrys .
508
+ // Update all the Locators for this Cluster's Entry objects .
509
509
for (DepGraphIndex idx : m_linearization) {
510
510
auto & entry = graph.m_entries [m_mapping[idx]];
511
511
entry.m_locator [m_level].SetPresent (this , idx);
@@ -1937,7 +1937,7 @@ void Cluster::SanityCheck(const TxGraphImpl& graph, int level) const
1937
1937
assert (m_depgraph.IsConnected (linchunking.GetChunk (0 ).transactions ));
1938
1938
}
1939
1939
}
1940
- // Verify that each element of m_depgraph occured in m_linearization.
1940
+ // Verify that each element of m_depgraph occurred in m_linearization.
1941
1941
assert (m_done == m_depgraph.Positions ());
1942
1942
}
1943
1943
0 commit comments