diff --git a/source/driver/SourceLoader.cpp b/source/driver/SourceLoader.cpp index ecd0c72a3..d868ca3fc 100644 --- a/source/driver/SourceLoader.cpp +++ b/source/driver/SourceLoader.cpp @@ -430,7 +430,7 @@ SourceLoader::LoadResult SourceLoader::loadAndParse(const FileEntry& entry, cons if (entry.isLibraryFile || srcOptions.onlyLint) tree->isLibrary = true; - return std::move(tree); + return tree; } };