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

@ -272,7 +272,7 @@ static ConversionResultCode Output(OutputParameters parameters, File::IOFile* ou
}
return ConversionResultCode::Success;
};
}
bool ConvertToGCZ(BlobReader* infile, const std::string& infile_path,
const std::string& outfile_path, u32 sub_type, int block_size,

View File

@ -67,7 +67,7 @@ static std::vector<u8> ReadHexString(std::string_view sv)
sv = sv.substr(2);
}
return result;
};
}
std::optional<Disc> ParseString(std::string_view xml, std::string xml_path)
{

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,

View File

@ -38,7 +38,7 @@ public:
virtual bool Decompress(const DecompressionBuffer& in, DecompressionBuffer* out,
size_t* in_bytes_read) = 0;
virtual bool Done() const { return m_done; };
virtual bool Done() const { return m_done; }
protected:
bool m_done = false;