From: Rafael Espindola Date: Fri, 10 Apr 2015 14:37:39 +0000 (+0000) Subject: Try to make MSVC happy. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bec200e323f8e73d414606a3ff8edf0e0572cdde;p=clang Try to make MSVC happy. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234599 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Frontend/CompilerInstance.h b/include/clang/Frontend/CompilerInstance.h index dbdf6597be..9adfecfc8b 100644 --- a/include/clang/Frontend/CompilerInstance.h +++ b/include/clang/Frontend/CompilerInstance.h @@ -156,6 +156,9 @@ class CompilerInstance : public ModuleLoader { OutputFile(const std::string &filename, const std::string &tempFilename, std::unique_ptr OS) : Filename(filename), TempFilename(tempFilename), OS(std::move(OS)) {} + OutputFile(OutputFile &&O) + : Filename(std::move(O.Filename)), + TempFilename(std::move(O.TempFilename)), OS(std::move(O.OS)) {} }; /// The list of active output files.