diff options
| author | Tilka <tilkax@gmail.com> | 2024-08-21 01:52:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-21 01:52:16 +0100 |
| commit | 7b8b733b11b18875cb702615dfabb852db024d52 (patch) | |
| tree | aac1bcc5de72be1637b5f64e3d39a73df8d9d450 /Source/Core/DiscIO/WIABlob.cpp | |
| parent | 44f1a7586565307155b329d911a57fbf65785a57 (diff) | |
| parent | 9602f36248edec803275128a0a327e3355f9472d (diff) | |
Merge pull request #13022 from tygyh/Remove-redundant-semicolons
Remove redundant semicolons
Diffstat (limited to 'Source/Core/DiscIO/WIABlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/WIABlob.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DiscIO/WIABlob.cpp b/Source/Core/DiscIO/WIABlob.cpp index a9496fe5a0..92bab36d81 100644 --- a/Source/Core/DiscIO/WIABlob.cpp +++ b/Source/Core/DiscIO/WIABlob.cpp @@ -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, |
