mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -36,14 +36,14 @@ public:
|
|||
private:
|
||||
DOMTreeModel(JsonObject, GUI::TreeView&);
|
||||
|
||||
ALWAYS_INLINE JsonObject const* get_parent(const JsonObject& o) const
|
||||
ALWAYS_INLINE JsonObject const* get_parent(JsonObject const& o) const
|
||||
{
|
||||
auto parent_node = m_dom_node_to_parent_map.get(&o);
|
||||
VERIFY(parent_node.has_value());
|
||||
return *parent_node;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE static JsonArray const* get_children(const JsonObject& o)
|
||||
ALWAYS_INLINE static JsonArray const* get_children(JsonObject const& o)
|
||||
{
|
||||
if (auto const* maybe_children = o.get_ptr("children"); maybe_children)
|
||||
return &maybe_children->as_array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue