diff options
Diffstat (limited to 'lib/ProfileData/InstrProf.cpp')
-rw-r--r-- | lib/ProfileData/InstrProf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ProfileData/InstrProf.cpp b/lib/ProfileData/InstrProf.cpp index 94a79e9ed0..eed517df05 100644 --- a/lib/ProfileData/InstrProf.cpp +++ b/lib/ProfileData/InstrProf.cpp @@ -55,7 +55,7 @@ class InstrProfErrorCategoryType : public error_category { error_condition default_error_condition(int EV) const LLVM_NOEXCEPT override { if (static_cast<instrprof_error>(EV) == instrprof_error::success) return error_condition(); - return errc::invalid_argument; + return std::errc::invalid_argument; } }; } |