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
This commit is contained in:
Rafael Espindola
2014-05-31 03:21:04 +00:00
parent 1028cc76ef
commit c145fd3cf5
7 changed files with 7 additions and 9 deletions

View File

@ -50,7 +50,7 @@ std::string _readobj_error_category::message(int ev) const {
error_condition _readobj_error_category::default_error_condition(int ev) const {
if (ev == readobj_error::success)
return errc::success;
return error_condition();
return errc::invalid_argument;
}