summaryrefslogtreecommitdiffstats
path: root/llvm/tools/obj2yaml/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/obj2yaml/Error.cpp')
-rw-r--r--llvm/tools/obj2yaml/Error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/obj2yaml/Error.cpp b/llvm/tools/obj2yaml/Error.cpp
index 3aa472fc3dd..ab615ee1937 100644
--- a/llvm/tools/obj2yaml/Error.cpp
+++ b/llvm/tools/obj2yaml/Error.cpp
@@ -42,7 +42,7 @@ error_condition
_obj2yaml_error_category::default_error_condition(int ev) const {
if (static_cast<obj2yaml_error>(ev) == obj2yaml_error::success)
return error_condition();
- return errc::invalid_argument;
+ return std::errc::invalid_argument;
}
namespace llvm {
OpenPOWER on IntegriCloud