mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -59,7 +59,7 @@ bool JsonArrayModel::store()
|
|||
return true;
|
||||
}
|
||||
|
||||
bool JsonArrayModel::add(const Vector<JsonValue>&& values)
|
||||
bool JsonArrayModel::add(Vector<JsonValue> const&& values)
|
||||
{
|
||||
VERIFY(values.size() == m_fields.size());
|
||||
JsonObject obj;
|
||||
|
@ -108,7 +108,7 @@ bool JsonArrayModel::remove(int row)
|
|||
return true;
|
||||
}
|
||||
|
||||
Variant JsonArrayModel::data(const ModelIndex& index, ModelRole role) const
|
||||
Variant JsonArrayModel::data(ModelIndex const& index, ModelRole role) const
|
||||
{
|
||||
auto& field_spec = m_fields[index.column()];
|
||||
auto& object = m_array.at(index.row()).as_object();
|
||||
|
@ -142,7 +142,7 @@ Variant JsonArrayModel::data(const ModelIndex& index, ModelRole role) const
|
|||
return {};
|
||||
}
|
||||
|
||||
void JsonArrayModel::set_json_path(const String& json_path)
|
||||
void JsonArrayModel::set_json_path(String const& json_path)
|
||||
{
|
||||
if (m_json_path == json_path)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue