1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-07 20:49:38 +02:00

bytevector: rename the argument to operator[] to be more descriptive

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2024-12-03 22:58:15 -05:00
Ursprung b9abcceacb
Commit 21cedfb13e
+2 -2
Datei anzeigen
@@ -44,10 +44,10 @@ namespace crucible {
}
ByteVector::value_type&
ByteVector::operator[](size_t size) const
ByteVector::operator[](size_t index) const
{
unique_lock<mutex> lock(m_mutex);
return m_ptr.get()[size];
return m_ptr.get()[index];
}
ByteVector::ByteVector(const ByteVector &that)