1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +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:
Andreas Kling 2021-04-29 22:23:52 +02:00
parent 7ae7170d61
commit 3d4afe7614
29 changed files with 139 additions and 139 deletions

View file

@ -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; };