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

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -34,7 +34,7 @@ public:
}
Kind kind() const { return m_kind; }
const String& key() const
String const& key() const
{
VERIFY(m_kind == Kind::Key);
return m_key;
@ -61,7 +61,7 @@ public:
static JsonPathElement any_array_element;
static JsonPathElement any_object_element;
bool operator==(const JsonPathElement& other) const
bool operator==(JsonPathElement const& other) const
{
switch (other.kind()) {
case Kind::Key:
@ -75,7 +75,7 @@ public:
}
return false;
}
bool operator!=(const JsonPathElement& other) const
bool operator!=(JsonPathElement const& other) const
{
return !(*this == other);
}
@ -93,7 +93,7 @@ private:
class JsonPath : public Vector<JsonPathElement> {
public:
JsonValue resolve(const JsonValue&) const;
JsonValue resolve(JsonValue const&) const;
String to_string() const;
};