summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/CoreLinkingContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/CoreLinkingContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/CoreLinkingContext.cpp b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
index db17d57d43e..ec8962bbce2 100644
--- a/lld/lib/ReaderWriter/CoreLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
@@ -298,7 +298,7 @@ CoreLinkingContext::relocKindFromString(StringRef str) const {
if (str.equals(p->string))
return p->value;
}
- return make_error_code(yaml_reader_error::illegal_value);
+ return make_error_code(YamlReaderError::illegal_value);
}
ErrorOr<std::string>
@@ -307,5 +307,5 @@ CoreLinkingContext::stringFromRelocKind(Reference::Kind kind) const {
if (kind == p->value)
return std::string(p->string);
}
- return make_error_code(yaml_reader_error::illegal_value);
+ return make_error_code(YamlReaderError::illegal_value);
}
OpenPOWER on IntegriCloud