mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
bytevector: rename the argument to operator[] to be more descriptive
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
b9abcceacb
commit
21cedfb13e
@ -44,10 +44,10 @@ namespace crucible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ByteVector::value_type&
|
ByteVector::value_type&
|
||||||
ByteVector::operator[](size_t size) const
|
ByteVector::operator[](size_t index) const
|
||||||
{
|
{
|
||||||
unique_lock<mutex> lock(m_mutex);
|
unique_lock<mutex> lock(m_mutex);
|
||||||
return m_ptr.get()[size];
|
return m_ptr.get()[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
ByteVector::ByteVector(const ByteVector &that)
|
ByteVector::ByteVector(const ByteVector &that)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user