Fix typo in ring_buffer::operator[].

This commit is contained in:
Lewis Baker 2013-11-28 20:12:20 +10:30
parent 1e8cdf3f9e
commit 7a04956308

View File

@ -37,7 +37,7 @@ namespace disruptorplus
const T& operator[](sequence_t seq) const
{
return m_data[static_case<size_t>(seq) & m_mask];
return m_data[static_cast<size_t>(seq) & m_mask];
}
private: