diff options
Diffstat (limited to 'tools/macho-dump/macho-dump.cpp')
-rw-r--r-- | tools/macho-dump/macho-dump.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/macho-dump/macho-dump.cpp b/tools/macho-dump/macho-dump.cpp index 13e8a4b80c..bfe1a6eaef 100644 --- a/tools/macho-dump/macho-dump.cpp +++ b/tools/macho-dump/macho-dump.cpp @@ -23,7 +23,6 @@ #include <system_error> using namespace llvm; using namespace llvm::object; -using std::error_code; static cl::opt<std::string> InputFile(cl::Positional, cl::desc("<input file>"), cl::init("-")); @@ -392,7 +391,7 @@ int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, "llvm Mach-O dumping tool\n"); ErrorOr<Binary *> BinaryOrErr = createBinary(InputFile); - if (error_code EC = BinaryOrErr.getError()) + if (std::error_code EC = BinaryOrErr.getError()) return Error("unable to read input: '" + EC.message() + "'"); std::unique_ptr<Binary> Binary(BinaryOrErr.get()); |