X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FSupport%2Fraw_ostream.cpp;h=f7c213ac2b85127ecc63a28cace6d6258163e35a;hp=6a61b1b2a6ccc2b709c6b004b7a3a4051c1e2aa2;hb=5c792faa0e5560bc148c973f3df658eb3bb2061e;hpb=7418e1f4bd5a4bda32af18f46ff2837221d12d5c diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index 6a61b1b2a6c..f7c213ac2b8 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp @@ -450,7 +450,7 @@ raw_fd_ostream::raw_fd_ostream(const char *Filename, std::string &ErrorInfo, return; } - error_code EC = sys::fs::openFileForWrite(Filename, FD, Flags); + std::error_code EC = sys::fs::openFileForWrite(Filename, FD, Flags); if (EC) { ErrorInfo = "Error opening output file '" + std::string(Filename) + "': " +