diff options
Diffstat (limited to 'tools/obj2yaml/Error.h')
-rw-r--r-- | tools/obj2yaml/Error.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/obj2yaml/Error.h b/tools/obj2yaml/Error.h index b91bfbb33c..4657f0db52 100644 --- a/tools/obj2yaml/Error.h +++ b/tools/obj2yaml/Error.h @@ -13,7 +13,6 @@ #include <system_error> namespace llvm { -using std::error_code; const std::error_category &obj2yaml_category(); enum class obj2yaml_error { @@ -23,8 +22,8 @@ enum class obj2yaml_error { unsupported_obj_file_format }; -inline error_code make_error_code(obj2yaml_error e) { - return error_code(static_cast<int>(e), obj2yaml_category()); +inline std::error_code make_error_code(obj2yaml_error e) { + return std::error_code(static_cast<int>(e), obj2yaml_category()); } } // namespace llvm |