mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
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
This commit is contained in:
@ -17,7 +17,6 @@
|
||||
#include <system_error>
|
||||
|
||||
namespace llvm {
|
||||
using std::error_code;
|
||||
const std::error_category &readobj_category();
|
||||
|
||||
enum class readobj_error {
|
||||
@ -29,8 +28,8 @@ enum class readobj_error {
|
||||
unknown_symbol
|
||||
};
|
||||
|
||||
inline error_code make_error_code(readobj_error e) {
|
||||
return error_code(static_cast<int>(e), readobj_category());
|
||||
inline std::error_code make_error_code(readobj_error e) {
|
||||
return std::error_code(static_cast<int>(e), readobj_category());
|
||||
}
|
||||
|
||||
} // namespace llvm
|
||||
|
Reference in New Issue
Block a user