diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 01:25:41 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 01:25:41 +0000 |
commit | a20bcb9969aa4f0d989e8f039d6af3a43357d310 (patch) | |
tree | 36510cd935429f5b7d3d5ff4993244e25e8ad902 /tools/obj2yaml/Error.h | |
parent | aa48b83e805511c9d6422bf0a504c2eea36580ec (diff) | |
download | llvm-a20bcb9969aa4f0d989e8f039d6af3a43357d310.tar.gz llvm-a20bcb9969aa4f0d989e8f039d6af3a43357d310.tar.bz2 llvm-a20bcb9969aa4f0d989e8f039d6af3a43357d310.tar.xz |
Remove all uses of 'using std::error_code' from headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210866 91177308-0d34-0410-b5e6-96231b3b80d8
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 |