Skip to content

Commit c012382

Browse files
authored
Update cycle_array.h
1 parent 7d69233 commit c012382

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/maglev/stats/cycle_array.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class cycle_index {
5555
return *this;
5656
}
5757

58-
// Suffix increment and decrement
58+
// Prefix increment and decrement
5959
cycle_index& operator++() {
6060
i_ = next(1);
6161
return *this;
@@ -65,7 +65,7 @@ class cycle_index {
6565
return *this;
6666
}
6767

68-
// Prefix increment and decrement
68+
// Suffix increment and decrement
6969
cycle_index operator++(int) {
7070
cycle_index ret(*this);
7171
i_ = next(1);

0 commit comments

Comments
 (0)