1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +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

@ -79,14 +79,14 @@ public:
m_as_object = obj;
}
Value(const Value& other)
Value(Value const& other)
{
*this = other;
}
~Value();
Value& operator=(const Value& other);
Value& operator=(Value const& other);
[[nodiscard]] ALWAYS_INLINE bool is_empty() const { return m_type == Type::Empty; }
[[nodiscard]] ALWAYS_INLINE bool is_null() const { return m_type == Type::Null; }
@ -191,7 +191,7 @@ namespace AK {
template<>
struct Formatter<PDF::Value> : Formatter<StringView> {
void format(FormatBuilder& builder, const PDF::Value& value)
void format(FormatBuilder& builder, PDF::Value const& value)
{
Formatter<StringView>::format(builder, value.to_string());
}