mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
AK: Rename Vector::append(Vector) => Vector::extend(Vector)
Let's make it a bit more clear when we're appending the elements from one vector to the end of another vector.
This commit is contained in:
parent
7e1bffdeb8
commit
dc65f54c06
37 changed files with 103 additions and 104 deletions
|
@ -37,7 +37,7 @@ Vector<LexicalPath> GitRepo::unstaged_files() const
|
|||
{
|
||||
auto modified = modified_files();
|
||||
auto untracked = untracked_files();
|
||||
modified.append(move(untracked));
|
||||
modified.extend(move(untracked));
|
||||
return modified;
|
||||
}
|
||||
//
|
||||
|
|
|
@ -325,7 +325,7 @@ Vector<CppComprehensionEngine::Symbol> CppComprehensionEngine::get_child_symbols
|
|||
|
||||
auto new_scope = scope;
|
||||
new_scope.append(decl.name());
|
||||
symbols.append(get_child_symbols(decl, new_scope, are_child_symbols_local ? Symbol::IsLocal::Yes : is_local));
|
||||
symbols.extend(get_child_symbols(decl, new_scope, are_child_symbols_local ? Symbol::IsLocal::Yes : is_local));
|
||||
}
|
||||
|
||||
return symbols;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue