Commit c75921cc authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Cleanup comments added to HistoryView class.

parent f43b1fce
......@@ -82,8 +82,8 @@ void HistoryView::unroll(std::vector<HistoryItem>::iterator &it) {
void HistoryView::unrollAll() {
auto it = m_historyItems.begin();
while (it != m_historyItems.end()) {
// iterator passed as a reference to prevent iterator invalidation.
// iterator incremented within loop.
// iterator passed by reference to prevent iterator invalidation.
// iterator incremented within function.
unroll(it);
}
}
......@@ -99,7 +99,7 @@ void HistoryView::unrollAll() {
void HistoryView::rollAll() {
auto it = m_historyItems.begin();
while (it != m_historyItems.end()) {
// iterator incremented within loop.
// iterator incremented within function.
roll(it);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment