Remove redundant semicolons

This commit is contained in:
Dr. Dystopia
2024-08-18 15:08:44 +02:00
parent 4ff5ff2772
commit 9602f36248
48 changed files with 72 additions and 70 deletions

View File

@ -1120,27 +1120,27 @@ bool WIARVZFileReader<RVZ>::TryReuse(std::map<ReuseID, GroupEntry>* reusable_gro
static bool AllAre(const std::vector<u8>& data, u8 x)
{
return std::all_of(data.begin(), data.end(), [x](u8 y) { return x == y; });
};
}
static bool AllAre(const u8* begin, const u8* end, u8 x)
{
return std::all_of(begin, end, [x](u8 y) { return x == y; });
};
}
static bool AllZero(const std::vector<u8>& data)
{
return AllAre(data, 0);
};
}
static bool AllSame(const std::vector<u8>& data)
{
return AllAre(data, data.front());
};
}
static bool AllSame(const u8* begin, const u8* end)
{
return AllAre(begin, end, *begin);
};
}
template <typename OutputParametersEntry>
static void RVZPack(const u8* in, OutputParametersEntry* out, u64 bytes_per_chunk, size_t chunks,