1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:37:36 +00:00

LibPDF: Convert to east-const to comply with the recent style changes

This commit is contained in:
Matthew Olsson 2021-06-01 11:16:11 -07:00 committed by Ali Mohammad Pur
parent 0a4d8ef98d
commit 612b183703
17 changed files with 120 additions and 120 deletions

View file

@ -52,7 +52,7 @@ public:
return true;
}
void add_section(const XRefSection& section)
void add_section(XRefSection const& section)
{
m_entries.ensure_capacity(section.starting_index + section.count);
@ -98,7 +98,7 @@ namespace AK {
template<>
struct Formatter<PDF::XRefEntry> : Formatter<StringView> {
void format(FormatBuilder& builder, const PDF::XRefEntry& entry)
void format(FormatBuilder& builder, PDF::XRefEntry const& entry)
{
Formatter<StringView>::format(builder,
String::formatted("XRefEntry {{ offset={} generation={} used={} }}",
@ -110,7 +110,7 @@ struct Formatter<PDF::XRefEntry> : Formatter<StringView> {
template<>
struct Formatter<PDF::XRefTable> : Formatter<StringView> {
void format(FormatBuilder& format_builder, const PDF::XRefTable& table)
void format(FormatBuilder& format_builder, PDF::XRefTable const& table)
{
StringBuilder builder;
builder.append("XRefTable {");