fix type size
This commit is contained in:
@@ -85,7 +85,7 @@ namespace hack::patterns
|
||||
return m_data;
|
||||
}
|
||||
|
||||
void skip(int n)
|
||||
void skip(std::size_t n)
|
||||
{
|
||||
m_tail += n;
|
||||
while (m_tail >= m_size) m_tail -= m_size;
|
||||
@@ -137,7 +137,7 @@ namespace hack::patterns
|
||||
private:
|
||||
std::size_t m_head{ 0 };
|
||||
std::size_t m_tail{ 0 };
|
||||
int m_size;
|
||||
std::size_t m_size;
|
||||
bool m_full{ false };
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user