summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ErrorOr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/ErrorOr.h')
-rw-r--r--include/llvm/Support/ErrorOr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Support/ErrorOr.h b/include/llvm/Support/ErrorOr.h
index fc111109fc..0742a2d06f 100644
--- a/include/llvm/Support/ErrorOr.h
+++ b/include/llvm/Support/ErrorOr.h
@@ -99,7 +99,6 @@ public:
std::is_error_condition_enum<E>::value,
void *>::type = 0)
: HasError(true) {
- using std::make_error_code;
new (getErrorStorage()) std::error_code(make_error_code(ErrorCode));
}