summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-13 01:25:41 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-13 01:25:41 +0000
commita20bcb9969aa4f0d989e8f039d6af3a43357d310 (patch)
tree36510cd935429f5b7d3d5ff4993244e25e8ad902 /lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
parentaa48b83e805511c9d6422bf0a504c2eea36580ec (diff)
downloadllvm-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 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h')
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
index 53cf8f99ff..b84883310b 100644
--- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
+++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
@@ -20,11 +20,9 @@
using namespace llvm;
namespace llvm {
-using std::error_code;
-
namespace {
// Helper for extensive error checking in debug builds.
-error_code Check(error_code Err) {
+std::error_code Check(std::error_code Err) {
if (Err) {
report_fatal_error(Err.message());
}