1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

Everywhere: Remove pessimizing and redundant move()

This commit is contained in:
Andreas Kling 2021-03-17 16:30:02 +01:00
parent fa28cc85e6
commit f59ad2dc57
9 changed files with 11 additions and 11 deletions

View file

@ -67,7 +67,7 @@ OwnPtr<AutoComplete::DocumentData> AutoComplete::create_document_data_for(const
get_or_create_document_data(path);
update_declared_symbols(*document_data);
return move(document_data);
return document_data;
}
void AutoComplete::set_document_data(const String& file, OwnPtr<DocumentData>&& data)