fix peek
This commit is contained in:
parent
2a01785775
commit
4018312528
@ -75,8 +75,8 @@ namespace hack::patterns
|
||||
int c = m_tail;
|
||||
for (int i = 0; i < n; ++i)
|
||||
{
|
||||
c = (c + 1) % m_size;;
|
||||
d[i] = m_data[c];
|
||||
c = (c + 1) % m_size;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user