mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
Everywhere: "indexes" => "indices"
I've wasted a silly amount of time in the past fretting over which of these words to use. Let's just choose one and use it everywhere. :^)
This commit is contained in:
parent
7ae7170d61
commit
3d4afe7614
29 changed files with 139 additions and 139 deletions
|
@ -161,15 +161,15 @@ public:
|
|||
Vector<u8> to_vector() const
|
||||
{
|
||||
// FIXME: Add a sync mechanism!
|
||||
Vector<u8> indexes;
|
||||
Vector<u8> indices;
|
||||
u32 bitfield = m_bitfield & m_bit_mask;
|
||||
for (size_t index = 0; index < 32; index++) {
|
||||
if (bitfield & 1) {
|
||||
indexes.append(index);
|
||||
indices.append(index);
|
||||
}
|
||||
bitfield >>= 1;
|
||||
}
|
||||
return indexes;
|
||||
return indices;
|
||||
}
|
||||
|
||||
u32 bit_mask() const { return m_bit_mask; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue