fix type size

This commit is contained in:
chatlanin
2025-01-10 11:18:07 +03:00
parent 4018312528
commit 25c7bb059c

View File

@@ -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: