Remove object_error::success and use std::error_code() instead
[oota-llvm.git] / tools / obj2yaml / coff2yaml.cpp
index 5baa644557cdbb002d57190b0e0b4f5b70b1c5b2..1e29107029eda9d926596db5c4cbaee889923a70 100644 (file)
@@ -271,5 +271,5 @@ std::error_code coff2yaml(raw_ostream &Out, const object::COFFObjectFile &Obj) {
   yaml::Output Yout(Out);
   Yout << Dumper.getYAMLObj();
 
-  return object::object_error::success;
+  return std::error_code();
 }