diff options
Diffstat (limited to 'Userland/Libraries/LibPDF/XRefTable.h')
-rw-r--r-- | Userland/Libraries/LibPDF/XRefTable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibPDF/XRefTable.h b/Userland/Libraries/LibPDF/XRefTable.h index 3cfb617dc8..ee70464755 100644 --- a/Userland/Libraries/LibPDF/XRefTable.h +++ b/Userland/Libraries/LibPDF/XRefTable.h @@ -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 {"); |