diff options
Diffstat (limited to 'include/llvm/Support/ErrorOr.h')
-rw-r--r-- | include/llvm/Support/ErrorOr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/ErrorOr.h b/include/llvm/Support/ErrorOr.h index d2a316fbf4..c59f86f1b9 100644 --- a/include/llvm/Support/ErrorOr.h +++ b/include/llvm/Support/ErrorOr.h @@ -103,7 +103,7 @@ public: new (getErrorStorage()) error_code(make_error_code(ErrorCode)); } - ErrorOr(llvm::error_code EC) : HasError(true) { + ErrorOr(std::error_code EC) : HasError(true) { new (getErrorStorage()) error_code(EC); } |