diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-31 03:21:04 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-31 03:21:04 +0000 |
commit | c145fd3cf5f9b9bb666267869eb556c54cdd5194 (patch) | |
tree | 23cbd36525dc9cc3318368e76ec2e8e2c48b53ef /lib/ProfileData | |
parent | 1028cc76ef8b40a933aba58cc531ccf466951771 (diff) | |
download | llvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.gz llvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.bz2 llvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.xz |
There is no std::errc::success, remove the llvm one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ProfileData')
-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 de2b13dafd..60a8efb2a6 100644 --- a/lib/ProfileData/InstrProf.cpp +++ b/lib/ProfileData/InstrProf.cpp @@ -54,7 +54,7 @@ class InstrProfErrorCategoryType : public error_category { } error_condition default_error_condition(int EV) const override { if (EV == instrprof_error::success) - return errc::success; + return error_condition(); return errc::invalid_argument; } }; |