mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -81,7 +81,7 @@ ErrorOr<Binary *> object::createBinary(MemoryBuffer *Source,
|
||||
|
||||
ErrorOr<Binary *> object::createBinary(StringRef Path) {
|
||||
std::unique_ptr<MemoryBuffer> File;
|
||||
if (error_code EC = MemoryBuffer::getFileOrSTDIN(Path, File))
|
||||
if (std::error_code EC = MemoryBuffer::getFileOrSTDIN(Path, File))
|
||||
return EC;
|
||||
return createBinary(File.release());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user