@@ -335,7 +335,7 @@ class TxGraphImpl final : public TxGraph
335335
336336 // Simple helper functions.
337337
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. */
339339 void SwapIndexes (GraphIndex a, GraphIndex b) noexcept ;
340340 /* * If idx exists in the specified level ClusterSet (explicitly, or in the level below and not
341341 * removed), return the Cluster it is in. Otherwise, return nullptr. */
@@ -408,8 +408,8 @@ class TxGraphImpl final : public TxGraph
408408
409409 // Functions related to various normalization/application steps.
410410 /* * 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). */
413413 void Compact () noexcept ;
414414 /* * If cluster is not in staging, copy it there, and return a pointer to it. This has no
415415 * 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
505505
506506void Cluster::Updated (TxGraphImpl& graph) noexcept
507507{
508- // Update all the Locators for this Cluster's Entrys .
508+ // Update all the Locators for this Cluster's Entry objects .
509509 for (DepGraphIndex idx : m_linearization) {
510510 auto & entry = graph.m_entries [m_mapping[idx]];
511511 entry.m_locator [m_level].SetPresent (this , idx);
@@ -1937,7 +1937,7 @@ void Cluster::SanityCheck(const TxGraphImpl& graph, int level) const
19371937 assert (m_depgraph.IsConnected (linchunking.GetChunk (0 ).transactions ));
19381938 }
19391939 }
1940- // Verify that each element of m_depgraph occured in m_linearization.
1940+ // Verify that each element of m_depgraph occurred in m_linearization.
19411941 assert (m_done == m_depgraph.Positions ());
19421942}
19431943
0 commit comments