mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
remove redundant call (done in constructor of completion_t)
This commit is contained in:
parent
42c6b9c176
commit
068aba1902
1 changed files with 1 additions and 2 deletions
|
@ -400,8 +400,7 @@ static owning_lock<autoload_t> completion_autoloader{autoload_t(L"fish_complete_
|
|||
/// Create a new completion entry.
|
||||
void append_completion(std::vector<completion_t> *completions, wcstring comp, wcstring desc,
|
||||
complete_flags_t flags, string_fuzzy_match_t match) {
|
||||
complete_flags_t resolved_flags = resolve_auto_space(comp, flags);
|
||||
completion_t completion{std::move(comp), std::move(desc), match, resolved_flags};
|
||||
completion_t completion{std::move(comp), std::move(desc), match, flags};
|
||||
completions->push_back(std::move(completion));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue