diff options
author | Itamar <itamar8910@gmail.com> | 2021-05-21 15:08:54 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-22 15:52:11 +0200 |
commit | 1f96d9b03ae511beec4ce5eea4ce216d0ca2bf3e (patch) | |
tree | 7172cef312fada81c3360d0f05e401962cacd7d6 /Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp | |
parent | 0c9db38e8f99af4ac005c1817cd3877601de83be (diff) | |
download | serenity-1f96d9b03ae511beec4ce5eea4ce216d0ca2bf3e.zip |
CppLanguageServer: remove no-op move()
Diffstat (limited to 'Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp b/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp index 9b30c766a9..8316fd8af4 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp +++ b/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp @@ -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); |