From ed6882b8351b37c07b3ddc51e1a62d7d96135aaa Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 12 Jun 2014 11:58:49 +0000 Subject: Don't import make_error_code into the llvm namespace. llvm-svn: 210772 --- llvm/lib/Support/FileOutputBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/FileOutputBuffer.cpp') diff --git a/llvm/lib/Support/FileOutputBuffer.cpp b/llvm/lib/Support/FileOutputBuffer.cpp index b8690543388..c8ed1ddef65 100644 --- a/llvm/lib/Support/FileOutputBuffer.cpp +++ b/llvm/lib/Support/FileOutputBuffer.cpp @@ -51,7 +51,7 @@ error_code FileOutputBuffer::create(StringRef FilePath, if (EC) return EC; else - return make_error_code(std::errc::operation_not_permitted); + return std::make_error_code(std::errc::operation_not_permitted); } // Delete target file. -- cgit v1.2.3