mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
CppLanguageServer: remove no-op move()
This commit is contained in:
parent
0c9db38e8f
commit
1f96d9b03a
1 changed files with 1 additions and 1 deletions
|
@ -536,7 +536,7 @@ GUI::AutocompleteProvider::DeclarationType CppComprehensionEngine::type_of_decla
|
|||
OwnPtr<CppComprehensionEngine::DocumentData> CppComprehensionEngine::create_document_data(String&& text, const String& filename)
|
||||
{
|
||||
auto document_data = make<DocumentData>();
|
||||
document_data->m_filename = move(filename);
|
||||
document_data->m_filename = filename;
|
||||
document_data->m_text = move(text);
|
||||
document_data->m_preprocessor = make<Preprocessor>(document_data->m_filename, document_data->text());
|
||||
document_data->preprocessor().set_ignore_unsupported_keywords(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue