mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Adapt to llvm.org StringRef API change
This commit is contained in:
@@ -39,7 +39,7 @@ XMLValidator::~XMLValidator() { delete Impl; }
|
||||
|
||||
void XMLValidator::setSchema(StringRef FileName) {
|
||||
assert(Impl->SchemaFileName.empty());
|
||||
Impl->SchemaFileName = FileName;
|
||||
Impl->SchemaFileName = FileName.str();
|
||||
}
|
||||
|
||||
XMLValidator::Status XMLValidator::validate(const std::string &XML) {
|
||||
|
||||
Reference in New Issue
Block a user